BootstrapDropDownEdit Class

Declaration
export class BootstrapDropDownEdit 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

getCaretPosition method

Declaration
getCaretPosition(): number
Returns
Type Description
number

getKeyValue method

Declaration
getKeyValue(): string
Returns
Type Description
string

getText method

Declaration
getText(): string
Returns
Type Description
string

hideDropDown method

Declaration
hideDropDown(): void

off method

Declaration
off(eventName?: K, callback?: (this: BootstrapDropDownEdit, args?: BootstrapDropDownEditEventMap[K]) => void): this
Parameters
Type Name Description
K eventName
(this: BootstrapDropDownEdit, args?: BootstrapDropDownEditEventMap[K]) => void callback
Returns
Type Description
this

on method

Declaration
on(eventName: K, callback: (this: BootstrapDropDownEdit, args?: BootstrapDropDownEditEventMap[K]) => void): this
Parameters
Type Name Description
K eventName
(this: BootstrapDropDownEdit, args?: BootstrapDropDownEditEventMap[K]) => void callback
Returns
Type Description
this

once method

Declaration
once(eventName: K, callback: (this: BootstrapDropDownEdit, args?: BootstrapDropDownEditEventMap[K]) => void): this
Parameters
Type Name Description
K eventName
(this: BootstrapDropDownEdit, args?: BootstrapDropDownEditEventMap[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

setKeyValue method

Declaration
setKeyValue(keyValue: string): void
Parameters
Type Name Description
string keyValue

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