BootstrapCheckBoxList Class

Declaration

export class BootstrapCheckBoxList extends BootstrapListBox

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

BootstrapListBox
BootstrapCheckBoxList

Methods

getItem Method

Declaration

getItem(index: number): BootstrapListBoxItem | null

Parameters

Name Type Description
index

Returns

Type Description
BootstrapListBoxItem
null

getItemCount Method

Declaration

getItemCount(): number

Returns

Type Description
number

getSelectedIndices Method

Declaration

getSelectedIndices(): array[number]

Returns

Type Description
array[number]

getSelectedItems Method

Declaration

getSelectedItems(): array[BootstrapListBoxItem]

Returns

Type Description
array[BootstrapListBoxItem]

getSelectedValues Method

Declaration

getSelectedValues(): array[any]

Returns

Type Description
array[any]

off Method

Declaration

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

Parameters

Name Type Description
eventName
callback

Returns

Type Description
this

on Method

Declaration

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

Parameters

Name Type Description
eventName
callback

Returns

Type Description
this

once Method

Declaration

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

Parameters

Name Type Description
eventName
callback

Returns

Type Description
this

selectAll Method

Declaration

selectAll(): void

selectIndices Method

Declaration

selectIndices(indices: array[number]): void

Parameters

Name Type Description
indices

selectItems Method

Declaration

selectItems(items: array[BootstrapListBoxItem]): void

Parameters

Name Type Description
items

selectValues Method

Declaration

selectValues(values: array[any]): void

Parameters

Name Type Description
values

unselectAll Method

Declaration

unselectAll(): void

unselectIndices Method

Declaration

unselectIndices(indices: array[number]): void

Parameters

Name Type Description
indices

unselectItems Method

Declaration

unselectItems(items: array[BootstrapListBoxItem]): void

Parameters

Name Type Description
items

unselectValues Method

Declaration

unselectValues(values: array[any]): void

Parameters

Name Type Description
values