Constructor
new mw.widgets.datetime.DateTimeInputWidget(configopt)
#
A widget with a series of inputs for date and time.
Parameters:
Name | Type | Attributes | Description | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
config |
Object |
<optional> |
Configuration options Properties
|
Extends
Methods
blur()
#
cleanUpValue()
#
focus()
#
getValueAsDate() → {Date|null
}
#
null
}
#
Get the value of the input as a Date object.
Returns:
- Type
-
Date
|
null