Provides a date picker UI.
Example
var DatePicker = require('date-picker.js');
// a generic Viewer constructor
var myDatePicker = DatePicker(this, {
dateFormat: 'MM/DD/YYYY'
});
Listens to Events:
-
module:event-store#event:StateModified for "FocusField" state.
(require("date-picker"))(viewer, options)
Created the template name header module.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
viewer |
Core |
The core viewer to which the module will attach. | ||||||
options |
Object |
An options abject. Properties
|
Methods
destroy()
Destroys the module.