The requested page is not available for the requested platform. You are viewing the content for Default platform.

BootstrapCheckBox Class

Declaration

export class BootstrapCheckBox extends BootstrapClientEdit

Remarks

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.

Inheritance

BootstrapClientEdit
BootstrapCheckBox

Methods

getCheckState Method

Returns a value which specifies a check box checked state.

Declaration

getCheckState(): string

Returns

Type Description
string

getChecked Method

Returns a value indicating whether the check box editor is checked.

Declaration

getChecked(): boolean

Returns

Type Description
boolean

getText Method

Returns the text displayed within the editor.

Declaration

getText(): string

Returns

Type Description
string

off Method

Declaration

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

Parameters

Name Type Description
eventName
callback

Returns

Type Description
this

on Method

Declaration

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

Parameters

Name Type Description
eventName
callback

Returns

Type Description
this

once Method

Declaration

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

Parameters

Name Type Description
eventName
callback

Returns

Type Description
this

setCheckState Method

Sets a value specifying the state of a check box.

Declaration

setCheckState(checkState: string): void

Parameters

Name Type Description
checkState

setChecked Method

Sets a value which specifies the checked status of the check box editor.

Declaration

setChecked(isChecked: boolean): void

Parameters

Name Type Description
isChecked

setText Method

Sets the text to be displayed within the editor.

Declaration

setText(text: string): void

Parameters

Name Type Description
text