BootstrapDropDownEdit Class

Declaration

export class BootstrapDropDownEdit extends BootstrapClientEdit

Inheritance

BootstrapClientEdit
BootstrapDropDownEdit

Methods

adjustDropDownWindow Method

Declaration

adjustDropDownWindow(): void

getButtonVisible Method

Declaration

getButtonVisible(number: number): boolean

Parameters

Type Name Description
number

Returns

Type Description

getCaretPosition Method

Declaration

getCaretPosition(): number

Returns

Type Description

getKeyValue Method

Declaration

getKeyValue(): string

Returns

Type Description

getText Method

Declaration

getText(): string

Returns

Type Description

hideDropDown Method

Declaration

hideDropDown(): void

off Method

Declaration

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

Parameters

Type Name Description
eventName
callback

Returns

Type Description

on Method

Declaration

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

Parameters

Type Name Description
eventName
callback

Returns

Type Description

once Method

Declaration

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

Parameters

Type Name Description
eventName
callback

Returns

Type Description

selectAll Method

Declaration

selectAll(): void

setButtonVisible Method

Declaration

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

Parameters

Type Name Description
number
value

setCaretPosition Method

Declaration

setCaretPosition(position: number): void

Parameters

Type Name Description
position

setKeyValue Method

Declaration

setKeyValue(keyValue: string): void

Parameters

Type Name Description
keyValue

setSelection Method

Declaration

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

Parameters

Type Name Description
startPos
endPos
scrollToSelection

setText Method

Declaration

setText(text: string): void

Parameters

Type Name Description
text

showDropDown Method

Declaration

showDropDown(): void