A.DatePickerDelegate Class
A base class for DatePickerDelegate
.
Constructor
A.DatePickerDelegate
-
config
Parameters:
-
config
ObjectObject 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:
-
event
EventFacade
_defSelectionChangeFn
-
event
Default behavior for selection change.
Parameters:
-
event
Object
_focusActiveCalendar
()
protected
Focus on active calendar.
_formatDate
-
event
Formats a date according to a mask.
Parameters:
-
event
Object
Returns:
_handleEnterKeyEvent
-
event
Handles enter key events
Parameters:
-
event
Object
_handleKeydownEvent
-
event
Handles keydown events
Parameters:
-
event
Object
_handleTabKeyEvent
-
event
Handles tab key events
Parameters:
-
event
Object
_onceUserInteraction
-
event
Fires once user interacts.
Parameters:
-
event
Object
_onceUserInteractionRelease
-
event
Fires once user interaction releases.
Parameters:
-
event
Object
_onUserInteractionRelease
-
event
Fires when user interaction releases.
Parameters:
-
event
Object
_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_value
Object
Returns:
getSelectedDates
-
node
Gets the selected dates.
Parameters:
-
node
Object
Returns:
initializer
()
protected
Construction logic executed during DatePickerDelegate
instantiation.
Lifecycle.
useInputNode
()
Method not implemented.
useInputNodeOnce
-
node
Triggers useInputNode
method once.
Parameters:
-
node
Object
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.