Class
caplin.presenter.control.datefield

JQueryDatePickerControl

A control adaptor that allows the JQuery Calendar control to be used to render instances of caplin.presenter.node.DateField within presenter.

The jQuery date picker control is aliased by br.date-picker, and can be used within templates as follows:

  <span data-bind="controlNode:dateFieldProperty, control:'br.date-picker'"></span>

You can also use a hidden input element and avoid having an extra container element:

  <input type="hidden" data-bind="controlNode:dateFieldProperty, control:'br.date-picker'"/>

Constructor Summary

Attributes Name and Description
caplin.presenter.control.datefield.JQueryDatePickerControl()

This class is constructed by presenter automatically on your behalf.

Methods implemented from class caplin.presenter.control.ControlAdaptor:
destroy, getElement, onViewReady, setElement, setOptions, setPresentationNode

Constructor Detail

caplin.presenter.control.datefield.JQueryDatePickerControl()

This class is constructed by presenter automatically on your behalf.