BootstrapDateEdit Class

Declaration

export class BootstrapDateEdit extends BootstrapClientEdit

Inheritance

BootstrapClientEdit
BootstrapDateEdit

Properties

name Property

Declaration

readonly name: string

Property Value

Type Description
string

Methods

adjustControl Method

Declaration

adjustControl(): void

adjustDropDownWindow Method

Declaration

adjustDropDownWindow(): void

focus Method

Declaration

focus(): void

getButtonVisible Method

Declaration

getButtonVisible(number: number): boolean

Parameters

Type Name Description
number number

Returns

Type Description
boolean

getCalendar Method

Declaration

getCalendar(): BootstrapCalendar | null

Returns

Type Description
BootstrapCalendar
null

getCaption Method

Declaration

getCaption(): string

Returns

Type Description
string

getCaretPosition Method

Declaration

getCaretPosition(): number

Returns

Type Description
number

getDate Method

Declaration

getDate(): Date

Returns

Type Description
Date

getEnabled Method

Declaration

getEnabled(): boolean

Returns

Type Description
boolean

getErrorText Method

Declaration

getErrorText(): string

Returns

Type Description
string

getHeight Method

Declaration

getHeight(): number

Returns

Type Description
number

getInputElement Method

Declaration

getInputElement(): any

Returns

Type Description
any

getIsValid Method

Declaration

getIsValid(): boolean

Returns

Type Description
boolean

getMainElement Method

Declaration

getMainElement(): any

Returns

Type Description
any

getMaxDate Method

Declaration

getMaxDate(): Date

Returns

Type Description
Date

getMinDate Method

Declaration

getMinDate(): Date

Returns

Type Description
Date

getParentControl Method

Declaration

getParentControl(): any

Returns

Type Description
any

getRangeDayCount Method

Declaration

getRangeDayCount(): number

Returns

Type Description
number

getReadOnly Method

Declaration

getReadOnly(): boolean

Returns

Type Description
boolean

getText Method

Declaration

getText(): string

Returns

Type Description
string

getTimeEdit Method

Declaration

getTimeEdit(): BootstrapTimeEdit | null

Returns

Type Description
BootstrapTimeEdit
null

getValue Method

Declaration

getValue(): any

Returns

Type Description
any

getVisible Method

Declaration

getVisible(): boolean

Returns

Type Description
boolean

getWidth Method

Declaration

getWidth(): number

Returns

Type Description
number

hideDropDown Method

Declaration

hideDropDown(): void

inCallback Method

Declaration

inCallback(): boolean

Returns

Type Description
boolean

off Method

Declaration

off(eventName?: K, callback?: (this: BootstrapDateEdit, args?: BootstrapDateEditEventMap[K]) => void): this

Parameters

Type Name Description
K eventName
(this: BootstrapDateEdit, args?: BootstrapDateEditEventMap[K]) => void callback

Returns

Type Description
this

on Method

Declaration

on<K extends keyof BootstrapDateEditEventMap>(eventName: K, callback: (this: BootstrapDateEdit, args?: BootstrapDateEditEventMap[K]) => void): this

Parameters

Type Name Description
K eventName
(this: BootstrapDateEdit, args?: BootstrapDateEditEventMap[K]) => void callback

Returns

Type Description
this

once Method

Declaration

once<K extends keyof BootstrapDateEditEventMap>(eventName: K, callback: (this: BootstrapDateEdit, args?: BootstrapDateEditEventMap[K]) => void): this

Parameters

Type Name Description
K eventName
(this: BootstrapDateEdit, args?: BootstrapDateEditEventMap[K]) => void callback

Returns

Type Description
this

selectAll Method

Declaration

selectAll(): void

sendMessageToAssistiveTechnology Method

Declaration

sendMessageToAssistiveTechnology(message: string): void

Parameters

Type Name Description
string message

setButtonVisible Method

Declaration

setButtonVisible(number: number, value: boolean): void

Parameters

Type Name Description
number number
boolean value

setCaption Method

Declaration

setCaption(caption: string): void

Parameters

Type Name Description
string caption

setCaretPosition Method

Declaration

setCaretPosition(position: number): void

Parameters

Type Name Description
number position

setDate Method

Declaration

setDate(date: Date): void

Parameters

Type Name Description
Date date

setEnabled Method

Declaration

setEnabled(value: boolean): void

Parameters

Type Name Description
boolean value

setErrorText Method

Declaration

setErrorText(errorText: string): void

Parameters

Type Name Description
string errorText

setHeight Method

Declaration

setHeight(height: number): void

Parameters

Type Name Description
number height

setIsValid Method

Declaration

setIsValid(isValid: boolean): void

Parameters

Type Name Description
boolean isValid

setMaxDate Method

Declaration

setMaxDate(date: Date): void

Parameters

Type Name Description
Date date

setMinDate Method

Declaration

setMinDate(date: Date): void

Parameters

Type Name Description
Date date

setReadOnly Method

Declaration

setReadOnly(readOnly: boolean): void

Parameters

Type Name Description
boolean readOnly

setSelection Method

Declaration

setSelection(startPos: number, endPos: number, scrollToSelection: boolean): void

Parameters

Type Name Description
number startPos
number endPos
boolean scrollToSelection

setText Method

Declaration

setText(text: string): void

Parameters

Type Name Description
string text

setValue Method

Declaration

setValue(value: any): void

Parameters

Type Name Description
any value

setVisible Method

Declaration

setVisible(visible: boolean): void

Parameters

Type Name Description
boolean visible

setWidth Method

Declaration

setWidth(width: number): void

Parameters

Type Name Description
number width

showDropDown Method

Declaration

showDropDown(): void

validate Method

Declaration

validate(): void