BootstrapDateEdit Class

Declaration

export class BootstrapDateEdit extends BootstrapClientEdit

Inheritance

Methods

adjustDropDownWindow method

Declaration

adjustDropDownWindow(): 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

getCaretPosition method

Declaration

getCaretPosition(): number

Returns

Type Description
number

getDate method

Declaration

getDate(): Date

Returns

Type Description
Date

getMaxDate method

Declaration

getMaxDate(): Date

Returns

Type Description
Date

getMinDate method

Declaration

getMinDate(): Date

Returns

Type Description
Date

getRangeDayCount method

Declaration

getRangeDayCount(): number

Returns

Type Description
number

getText method

Declaration

getText(): string

Returns

Type Description
string

getTimeEdit method

Declaration

getTimeEdit(): BootstrapTimeEdit | null

Returns

Type Description
BootstrapTimeEdit
null

hideDropDown method

Declaration

hideDropDown(): void

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(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(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

setButtonVisible method

Declaration

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

Parameters

Type Name Description
number number
boolean value

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

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

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

showDropDown method

Declaration

showDropDown(): void