BootstrapButtonEdit Class
Declaration
class BootstrapButtonEdit extends BootstrapClientEdit
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.
Methods
getButtonVisible(
number: number
): boolean
getCaretPosition(): number
getText Method
Declaration
getText(): string
Returns
off<K extends keyof BootstrapButtonEditEventMap>(
eventName?: K,
callback?: (this: BootstrapButtonEdit,
args?: BootstrapButtonEditEventMap[K]) => void
): this
Name |
Type |
eventName |
K |
callback |
(this: BootstrapButtonEdit, args?: BootstrapButtonEditEventMap[K]) => void |
on<K extends keyof BootstrapButtonEditEventMap>(
eventName: K,
callback: (this: BootstrapButtonEdit,
args?: BootstrapButtonEditEventMap[K]) => void
): this
Name |
Type |
eventName |
K |
callback |
(this: BootstrapButtonEdit, args?: BootstrapButtonEditEventMap[K]) => void |
once<K extends keyof BootstrapButtonEditEventMap>(
eventName: K,
callback: (this: BootstrapButtonEdit,
args?: BootstrapButtonEditEventMap[K]) => void
): this
Name |
Type |
eventName |
K |
callback |
(this: BootstrapButtonEdit, args?: BootstrapButtonEditEventMap[K]) => void |
selectAll(): void
setButtonVisible(
number: number,
value: boolean
): void
Name |
Type |
number |
number |
value |
boolean |
setCaretPosition(
position: number
): void
Name |
Type |
position |
number |
setSelection(
startPos: number,
endPos: number,
scrollToSelection: boolean
): void
Name |
Type |
startPos |
number |
endPos |
number |
scrollToSelection |
boolean |
setText(text) Method
Declaration
setText(
text: string
): void
Parameters