A.DatePickerNativeBase Class
A base class for DatePickerNativeBase.
Constructor
A.DatePickerNativeBase
-
config
Parameters:
-
configObjectObject literal specifying widget configuration properties.
Methods
_addFourDigitsYearPadding
-
text
Adds four digits as a padding for the year value.
Parameters:
-
textObject
Returns:
The result of the string manipulation.
_afterNativeSelectionChange
-
event
Fires after a selection change in the native calendar.
Parameters:
-
eventObject
_fireSelectionChange
()
protected
Fires a selection change.
_isTypeSupported
-
type
Checks if type attribute is supported.
Parameters:
-
typeObject
Returns:
_parseDateFromString
-
text
Parses a date from a string.
Parameters:
-
textObject
Returns:
bindNativeUI
()
Bind the events on the DatePickerNativeBase UI. Lifecycle.
clearSelection
()
Clears selected dates in the native calendar.
deselectDates
()
Deselects dates in the native calendar.
hide
()
Blurs native calendar.
initializer
()
protected
Construction logic executed during DatePickerNativeBase instantiation.
Lifecycle.
selectDates
-
dates
Selects a date in the native calendar.
Parameters:
-
datesObject
show
()
Focus native calendar.
useInputNode
-
node
Renders the widget in an <input> node.
Parameters:
-
nodeObject
Properties
ATTRS
Object
static
Static property used to define the default attribute configuration for the
DatePickerNativeBase.