BootstrapCheckBoxList Class

Declaration

export class BootstrapCheckBoxList extends BootstrapListBox

Inheritance

BootstrapListBox
BootstrapCheckBoxList

Methods

getItem Method

Declaration

getItem(index: number): BootstrapListBoxItem | null

Parameters

Type Name Description
index

Returns

Type Description

getItemCount Method

Declaration

getItemCount(): number

Returns

Type Description

getSelectedIndices Method

Declaration

getSelectedIndices(): array[number]

Returns

Type Description

getSelectedItems Method

Declaration

getSelectedItems(): array[BootstrapListBoxItem]

Returns

Type Description

getSelectedValues Method

Declaration

getSelectedValues(): array[any]

Returns

Type Description

off Method

Declaration

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

Parameters

Type Name Description
eventName
callback

Returns

Type Description

on Method

Declaration

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

Parameters

Type Name Description
eventName
callback

Returns

Type Description

once Method

Declaration

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

Parameters

Type Name Description
eventName
callback

Returns

Type Description

selectAll Method

Declaration

selectAll(): void

selectIndices Method

Declaration

selectIndices(indices: array[number]): void

Parameters

Type Name Description
indices

selectItems Method

Declaration

selectItems(items: array[BootstrapListBoxItem]): void

Parameters

Type Name Description
items

selectValues Method

Declaration

selectValues(values: array[any]): void

Parameters

Type Name Description
values

unselectAll Method

Declaration

unselectAll(): void

unselectIndices Method

Declaration

unselectIndices(indices: array[number]): void

Parameters

Type Name Description
indices

unselectItems Method

Declaration

unselectItems(items: array[BootstrapListBoxItem]): void

Parameters

Type Name Description
items

unselectValues Method

Declaration

unselectValues(values: array[any]): void

Parameters

Type Name Description
values