A.DatePickerNativeBase Class
A base class for DatePickerNativeBase
.
Constructor
A.DatePickerNativeBase
-
config
Parameters:
-
config
ObjectObject literal specifying widget configuration properties.
Methods
_addFourDigitsYearPadding
-
text
Adds four digits as a padding for the year value.
Parameters:
-
text
Object
Returns:
The result of the string manipulation.
_afterNativeSelectionChange
-
event
Fires after a selection change in the native calendar.
Parameters:
-
event
Object
_fireSelectionChange
()
protected
Fires a selection change.
_isTypeSupported
-
type
Checks if type attribute is supported.
Parameters:
-
type
Object
Returns:
_parseDateFromString
-
text
Parses a date from a string.
Parameters:
-
text
Object
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:
-
dates
Object
show
()
Focus native calendar.
useInputNode
-
node
Renders the widget in an <input>
node.
Parameters:
-
node
Object
Properties
ATTRS
Object
static
Static property used to define the default attribute configuration for the
DatePickerNativeBase
.