A.DatePickerDelegate Class
A base class for DatePickerDelegate.
Constructor
A.DatePickerDelegate
-
config
Parameters:
-
configObjectObject literal specifying widget configuration properties.
Index
Methods
- _afterActiveInputChange
- _defSelectionChangeFn
- _focusActiveCalendar
- _formatDate
- _handleEnterKeyEvent
- _handleKeydownEvent
- _handleTabKeyEvent
- _onceUserInteraction
- _onceUserInteractionRelease
- _onUserInteractionRelease
- _valueExtractorFn
- _valueFormatterFn
- bindDelegateUI
- destroy
- focusSelectedValue
- getParsedDatesFromInputValue
- getSelectedDates
- initializer
- useInputNode
- useInputNodeOnce
Properties
- ATTRS static
Events
Methods
_afterActiveInputChange
-
event
Fires when the 'activeInput' attribute changes. The keydown listener is removed from the old active input and is attached to the new one.
Parameters:
-
eventEventFacade
_defSelectionChangeFn
-
event
Default behavior for selection change.
Parameters:
-
eventObject
_focusActiveCalendar
()
protected
Focus on active calendar.
_formatDate
-
event
Formats a date according to a mask.
Parameters:
-
eventObject
Returns:
_handleEnterKeyEvent
-
event
Handles enter key events
Parameters:
-
eventObject
_handleKeydownEvent
-
event
Handles keydown events
Parameters:
-
eventObject
_handleTabKeyEvent
-
event
Handles tab key events
Parameters:
-
eventObject
_onceUserInteraction
-
event
Fires once user interacts.
Parameters:
-
eventObject
_onceUserInteractionRelease
-
event
Fires once user interaction releases.
Parameters:
-
eventObject
_onUserInteractionRelease
-
event
Fires when user interaction releases.
Parameters:
-
eventObject
_valueExtractorFn
()
protected
Extracts the input value.
_valueFormatterFn
()
Function
protected
Formats a date value.
Returns:
bindDelegateUI
()
protected
Bind the events on the DatePickerDelegate UI. Lifecycle.
destroy
()
protected
Destructor logic implementation for the DatePickerDelegate class.
focusSelectedValue
()
Method not implemented.
getParsedDatesFromInputValue
-
opt_value
Gets parsed dates from input value.
Parameters:
-
opt_valueObject
Returns:
getSelectedDates
-
node
Gets the selected dates.
Parameters:
-
nodeObject
Returns:
initializer
()
protected
Construction logic executed during DatePickerDelegate instantiation.
Lifecycle.
useInputNode
()
Method not implemented.
useInputNodeOnce
-
node
Triggers useInputNode method once.
Parameters:
-
nodeObject
Properties
ATTRS
Object
static
Static property used to define the default attribute configuration for the
DatePickerDelegate.
Attributes
Events
enterKey
Fired when then enter key is pressed on an input node.