Provides a date picker UI.
(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
|
Listens to Events:
-
module:event-store#event:StateModified for "FocusField" state.
Example
var DatePicker = require('date-picker.js');
// a generic Viewer constructor
var myDatePicker = DatePicker(this, {
dateFormat: 'MM/DD/YYYY'
});
Methods
destroy()
Destroys the module.