Skip to main content

DateControl

Extends

Constructors

Constructor

new DateControl(options): DateControl;

Parameters

ParameterType
optionsDateControlOptions

Returns

DateControl

Overrides

AbstractValueControl.constructor

Accessors

dateControlType

Get Signature

get dateControlType(): DateTimePickerType;
Returns

DateTimePickerType


icon

Get Signature

get icon(): ReactorIcon;
Returns

ReactorIcon


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
ParameterType
valueValue
Returns

void

Inherited from

AbstractValueControl.value

Methods

getDateFromDialog()

getDateFromDialog(): Promise<Date>;

Returns

Promise<Date>


representAsBtn()

representAsBtn(): Btn;

Returns

Btn

Overrides

AbstractValueControl.representAsBtn


representAsComboBoxItems()

representAsComboBoxItems(options): ComboBoxItem[];

Parameters

ParameterType
optionsRepresentAsComboBoxItemsEvent

Returns

ComboBoxItem[]

Overrides

AbstractValueControl.representAsComboBoxItems


representAsControl()

representAsControl(options?): Element;

Parameters

ParameterType
options?RepresentAsControlOptions

Returns

Element

Overrides

AbstractValueControl.representAsControl


updateOptions()

updateOptions(options): void;

Parameters

ParameterType
optionsPartial<Omit<Options, "initialValue">>

Returns

void

Inherited from

AbstractValueControl.updateOptions