Skip to main content

BootstrapRadioButton Class

#Declaration

TypeScript
class BootstrapRadioButton 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

Control
BootstrapClientEdit
BootstrapRadioButton

#Methods

#getChecked Method

#Declaration

TypeScript
getChecked(): boolean

#Returns

Type
boolean

#getCheckState Method

#Declaration

TypeScript
getCheckState(): string

#Returns

Type
string

#getText Method

#Declaration

TypeScript
getText(): string

#Returns

Type
string

#off<K> Method

#Declaration

TypeScript
off<K extends keyof BootstrapRadioButtonEventMap>(
    eventName?: K,
    callback?: (this: BootstrapRadioButton,
    args?: BootstrapRadioButtonEventMap[K]) => void
): this

#Parameters

Name Type
eventName K
callback (this: BootstrapRadioButton, args?: BootstrapRadioButtonEventMap[K]) => void

#Type Parameters

Name Type
K keyof

#Returns

Type
this

#on<K>(eventName, callback) Method

#Declaration

TypeScript
on<K extends keyof BootstrapRadioButtonEventMap>(
    eventName: K,
    callback: (this: BootstrapRadioButton,
    args?: BootstrapRadioButtonEventMap[K]) => void
): this

#Parameters

Name Type
eventName K
callback (this: BootstrapRadioButton, args?: BootstrapRadioButtonEventMap[K]) => void

#Type Parameters

Name Type
K keyof

#Returns

Type
this

#once<K>(eventName, callback) Method

#Declaration

TypeScript
once<K extends keyof BootstrapRadioButtonEventMap>(
    eventName: K,
    callback: (this: BootstrapRadioButton,
    args?: BootstrapRadioButtonEventMap[K]) => void
): this

#Parameters

Name Type
eventName K
callback (this: BootstrapRadioButton, args?: BootstrapRadioButtonEventMap[K]) => void

#Type Parameters

Name Type
K keyof

#Returns

Type
this

#setChecked(isChecked) Method

#Declaration

TypeScript
setChecked(
    isChecked: boolean
): void

#Parameters

Name Type
isChecked boolean

#setCheckState(checkState) Method

#Declaration

TypeScript
setCheckState(
    checkState: string
): void

#Parameters

Name Type
checkState string

#setText(text) Method

#Declaration

TypeScript
setText(
    text: string
): void

#Parameters

Name Type
text string