BootstrapTimeEdit Class

Declaration

export class BootstrapTimeEdit 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
BootstrapTimeEdit

Methods

getButtonVisible Method

Declaration

getButtonVisible(number: number): boolean

Parameters

Name Type Description
number

Returns

Type Description
boolean

getCaretPosition Method

Declaration

getCaretPosition(): number

Returns

Type Description
number

getDate Method

Declaration

getDate(): Date

Returns

Type Description
Date

getText Method

Declaration

getText(): string

Returns

Type Description
string

off Method

Declaration

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

Parameters

Name Type Description
eventName
callback

Returns

Type Description
this

on Method

Declaration

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

Parameters

Name Type Description
eventName
callback

Returns

Type Description
this

once Method

Declaration

once(eventName: K, callback: (this: BootstrapTimeEdit, args?: BootstrapTimeEditEventMap[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

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