BootstrapTreeView Class

Declaration

export class BootstrapTreeView extends Control

Inheritance

Control
BootstrapTreeView

Methods

collapseAll Method

Declaration

collapseAll(): void

expandAll Method

Declaration

expandAll(): void

getNode Method

Declaration

getNode(index: number): BootstrapTreeViewNode | null

Parameters

Type Name Description
index

Returns

Type Description

getNodeByName Method

Declaration

getNodeByName(name: string): BootstrapTreeViewNode | null

Parameters

Type Name Description
name

Returns

Type Description

getNodeByText Method

Declaration

getNodeByText(text: string): BootstrapTreeViewNode | null

Parameters

Type Name Description
text

Returns

Type Description

getNodeCount Method

Declaration

getNodeCount(): number

Returns

Type Description

getRootNode Method

Declaration

getRootNode(): BootstrapTreeViewNode | null

Returns

Type Description

getSelectedNode Method

Declaration

getSelectedNode(): BootstrapTreeViewNode | null

Returns

Type Description

off Method

Declaration

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

Parameters

Type Name Description
eventName
callback

Returns

Type Description

on Method

Declaration

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

Parameters

Type Name Description
eventName
callback

Returns

Type Description

once Method

Declaration

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

Parameters

Type Name Description
eventName
callback

Returns

Type Description

setSelectedNode Method

Declaration

setSelectedNode(node: BootstrapTreeViewNode): void

Parameters

Type Name Description
node