BootstrapButton Class

Declaration
export class BootstrapButton extends Control
Inheritance

Methods

doClick method

Declaration
doClick(): void

focus method

Declaration
focus(): void

getBadgeIconCssClass method

Declaration
getBadgeIconCssClass(): string
Returns
Type Description
string

getBadgeText method

Declaration
getBadgeText(): string
Returns
Type Description
string

getChecked method

Declaration
getChecked(): boolean
Returns
Type Description
boolean

getEnabled method

Declaration
getEnabled(): boolean
Returns
Type Description
boolean

getImageUrl method

Declaration
getImageUrl(): string
Returns
Type Description
string

getText method

Declaration
getText(): string
Returns
Type Description
string

off method

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

on method

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

once method

Declaration
once(eventName: K, callback: (this: BootstrapButton, args?: BootstrapButtonEventMap[K]) => void): this
Parameters
Type Name Description
K eventName
(this: BootstrapButton, args?: BootstrapButtonEventMap[K]) => void callback
Returns
Type Description
this

setBadgeIconCssClass method

Declaration
setBadgeIconCssClass(cssClass: string): void
Parameters
Type Name Description
string cssClass

setBadgeText method

Declaration
setBadgeText(text: string): void
Parameters
Type Name Description
string text

setChecked method

Declaration
setChecked(value: boolean): void
Parameters
Type Name Description
boolean value

setEnabled method

Declaration
setEnabled(value: boolean): void
Parameters
Type Name Description
boolean value

setImageUrl method

Declaration
setImageUrl(value: string): void
Parameters
Type Name Description
string value

setText method

Declaration
setText(value: string): void
Parameters
Type Name Description
string value