DateControl
Extends
Constructors
Constructor
new DateControl(options): DateControl;
Parameters
| Parameter | Type |
|---|---|
options | DateControlOptions |
Returns
DateControl
Overrides
AbstractValueControl.constructor
Accessors
dateControlType
Get Signature
get dateControlType(): DateTimePickerType;
Returns
icon
Get Signature
get icon(): ReactorIcon;
Returns
label
Get Signature
get label(): "Select a date" | "Input a time";
Returns
"Select a date" | "Input a time"
valid
value
Get Signature
get value(): Value;
Returns
Value
Set Signature
set value(value): void;
Parameters
| Parameter | Type |
|---|---|
value | Value |
Returns
void
Inherited from
Methods
getDateFromDialog()
getDateFromDialog(): Promise<Date>;
Returns
Promise<Date>
representAsBtn()
representAsBtn(): Btn;
Returns
Overrides
AbstractValueControl.representAsBtn
representAsComboBoxItems()
representAsComboBoxItems(options): ComboBoxItem[];
Parameters
| Parameter | Type |
|---|---|
options | RepresentAsComboBoxItemsEvent |
Returns
Overrides
AbstractValueControl.representAsComboBoxItems
representAsControl()
representAsControl(options?): Element;
Parameters
| Parameter | Type |
|---|---|
options? | RepresentAsControlOptions |
Returns
Element
Overrides
AbstractValueControl.representAsControl
updateOptions()
updateOptions(options): void;
Parameters
| Parameter | Type |
|---|---|
options | Partial<Omit<Options, "initialValue">> |
Returns
void