BootstrapCheckBox Class
In This Article
#Declaration
TypeScript
class BootstrapCheckBox extends BootstrapClientEdit
#Remarks
IMPORTANT
Bootstrap Controls for ASP.
#Inherited Members
#Inheritance
Control
BootstrapClientEdit
BootstrapCheckBox
#Methods
#getChecked Method
Returns a value indicating whether the check box editor is checked.
#Declaration
TypeScript
getChecked(): boolean
#Returns
Type |
---|
boolean |
#getCheckState Method
Returns a value which specifies a check box checked state.
#Declaration
TypeScript
getCheckState(): string
#Returns
Type |
---|
string |
#getText Method
Returns the text displayed within the editor.
#Declaration
TypeScript
getText(): string
#Returns
Type |
---|
string |
#off<K> Method
#Declaration
TypeScript
off<K extends keyof BootstrapCheckBoxEventMap>(
eventName?: K,
callback?: (this: BootstrapCheckBox,
args?: BootstrapCheckBoxEventMap[K]) => void
): this
#Parameters
Name | Type |
---|---|
event |
K |
callback | (this: Bootstrap |
#Type Parameters
Name | Type |
---|---|
K | keyof |
#Returns
Type |
---|
this |
#on<K>(eventName, callback) Method
#Declaration
TypeScript
on<K extends keyof BootstrapCheckBoxEventMap>(
eventName: K,
callback: (this: BootstrapCheckBox,
args?: BootstrapCheckBoxEventMap[K]) => void
): this
#Parameters
Name | Type |
---|---|
event |
K |
callback | (this: Bootstrap |
#Type Parameters
Name | Type |
---|---|
K | keyof |
#Returns
Type |
---|
this |
#once<K>(eventName, callback) Method
#Declaration
TypeScript
once<K extends keyof BootstrapCheckBoxEventMap>(
eventName: K,
callback: (this: BootstrapCheckBox,
args?: BootstrapCheckBoxEventMap[K]) => void
): this
#Parameters
Name | Type |
---|---|
event |
K |
callback | (this: Bootstrap |
#Type Parameters
Name | Type |
---|---|
K | keyof |
#Returns
Type |
---|
this |
#setChecked(isChecked) Method
Sets a value which specifies the checked status of the check box editor.
#Declaration
TypeScript
setChecked(
isChecked: boolean
): void
#Parameters
Name | Type |
---|---|
is |
boolean |
#setCheckState(checkState) Method
Sets a value specifying the state of a check box.
#Declaration
TypeScript
setCheckState(
checkState: string
): void
#Parameters
Name | Type |
---|---|
check |
string |
#setText(text) Method
Sets the text to be displayed within the editor.
#Declaration
TypeScript
setText(
text: string
): void
#Parameters
Name | Type |
---|---|
text | string |