- getBlock() ⇒
Node
Gets HTMLNode containing dropdown
- getEventTarget() ⇒
Node
Gets element which listens to events
- setDateFormatter(customDateFormatter)
Sets custom date formatter
- setDateParser(customDateParser)
Sets custom date parser
Kind: global class
- Datepicker
- new Datepicker(input, customConfig)
- .E_CREATED :
string
- .E_CHANGED :
string
- .E_UPDATE_CONSTRAINTS :
string
Creates new datepicker
Param | Type |
---|---|
input | Node | Element |
customConfig | Object |
Kind: static constant of Datepicker
Default: "datepicker:created"
Kind: static constant of Datepicker
Default: "datepicker:changed"
Kind: static constant of Datepicker
Default: "datepicker:updateconstraints"
Kind: global variable
Copyright: Devexperts
- Datepicker
- new Datepicker(input, customConfig)
- .E_CREATED :
string
- .E_CHANGED :
string
- .E_UPDATE_CONSTRAINTS :
string
Creates new datepicker
Param | Type |
---|---|
input | Node | Element |
customConfig | Object |
Kind: static constant of Datepicker
Default: "datepicker:created"
Kind: static constant of Datepicker
Default: "datepicker:changed"
Kind: static constant of Datepicker
Default: "datepicker:updateconstraints"
Gets HTMLNode containing dropdown
Gets element which listens to events
Sets custom date formatter
Kind: global function
Param | Type |
---|---|
customDateFormatter | function |
Sets custom date parser
Kind: global function
Param | Type |
---|---|
customDateParser | function |