BootstrapTimeEdit Class

Declaration

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

Methods

getButtonVisible(number) Method

Declaration

getButtonVisible(number: number): boolean

Parameters

Name Type
number number

Returns

Type
boolean

getCaretPosition Method

Declaration

getCaretPosition(): number

Returns

Type
number

getDate Method

Declaration

getDate(): Date

Returns

Type
Date

getText Method

Declaration

getText(): string

Returns

Type
string

off<K> Method

Declaration

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

Parameters

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

Type Parameters

Name Type
K keyof

Returns

Type
this

on<K>(eventName, callback) Method

Declaration

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

Parameters

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

Type Parameters

Name Type
K keyof

Returns

Type
this

once<K>(eventName, callback) Method

Declaration

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

Parameters

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

Type Parameters

Name Type
K keyof

Returns

Type
this

selectAll Method

Declaration

selectAll(): void

setButtonVisible(number, value) Method

Declaration

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

Parameters

Name Type
number number
value boolean

setCaretPosition(position) Method

Declaration

setCaretPosition(position: number): void

Parameters

Name Type
position number

setDate(date) Method

Declaration

setDate(date: Date): void

Parameters

Name Type
date Date

setSelection(startPos, endPos, scrollToSelection) Method

Declaration

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

Parameters

Name Type
startPos number
endPos number
scrollToSelection boolean

setText(text) Method

Declaration

setText(text: string): void

Parameters

Name Type
text string