The requested page is not available for the requested platform. You are viewing the content for Default platform.

BootstrapDateEdit Class

Declaration

export class BootstrapDateEdit extends BootstrapClientEdit

Remarks

Important

Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.

Inheritance

BootstrapClientEdit
BootstrapDateEdit

Methods

adjustDropDownWindow Method

Declaration

adjustDropDownWindow(): void

getButtonVisible Method

Declaration

getButtonVisible(number: number): boolean

Parameters

Name Type Description
number

Returns

Type Description
boolean

getCalendar Method

Declaration

getCalendar(): BootstrapCalendar | null

Returns

Type Description
null
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
null
null

hideDropDown Method

Declaration

hideDropDown(): void

off Method

Declaration

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

Parameters

Name Type Description
eventName
callback

Returns

Type Description
this

on Method

Declaration

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

Parameters

Name Type Description
eventName
callback

Returns

Type Description
this

once Method

Declaration

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

Parameters

Name Type Description
eventName
callback

Returns

Type Description
this

selectAll Method

Declaration

selectAll(): void

setButtonVisible Method

Declaration

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

Parameters

Name Type Description
number
value

setCaretPosition Method

Declaration

setCaretPosition(position: number): void

Parameters

Name Type Description
position

setDate Method

Declaration

setDate(date: Date): void

Parameters

Name Type Description
date

setMaxDate Method

Declaration

setMaxDate(date: Date): void

Parameters

Name Type Description
date

setMinDate Method

Declaration

setMinDate(date: Date): void

Parameters

Name Type Description
date

setSelection Method

Declaration

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

Parameters

Name Type Description
startPos
endPos
scrollToSelection

setText Method

Declaration

setText(text: string): void

Parameters

Name Type Description
text

showDropDown Method

Declaration

showDropDown(): void