BootstrapMemo Class

Declaration

export class BootstrapMemo extends BootstrapClientEdit

Inheritance

BootstrapClientEdit
BootstrapMemo

Methods

getCaretPosition Method

Declaration

getCaretPosition(): number

Returns

Type Description

getText Method

Declaration

getText(): string

Returns

Type Description

off Method

Declaration

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

Parameters

Type Name Description
eventName
callback

Returns

Type Description

on Method

Declaration

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

Parameters

Type Name Description
eventName
callback

Returns

Type Description

once Method

Declaration

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

Parameters

Type Name Description
eventName
callback

Returns

Type Description

selectAll Method

Declaration

selectAll(): void

setCaretPosition Method

Declaration

setCaretPosition(position: number): void

Parameters

Type Name Description
position

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