Constructor
Name | Type | Description |
---|---|---|
elementId | string | This property in constructor accepts the Id for the element |
label | string | This property in constructor accepts the label for dropDown |
mode | enum<DateTimePickerMode>\n\n | It is the mode of the date time picker. |
from | string | It is the start date of the date time picker. |
to | string | It is the end date of the date time picker. |
timezoneCode | string | It is the time zone of the given date. |
dateTimeFormat | string | It is the format of the date time picker. |
Class Usage
Here’s an example of how you can create an instance of theDateTimePickerElement
class:
Example
Here is an example that showcases the creation and manipulation of an instance ofDropdownElement
: