BootstrapTreeView Class

Declaration

export class BootstrapTreeView extends Control

Inheritance

Control
BootstrapTreeView

Properties

name Property

Declaration

readonly name: string

Property Value

Type Description
string

Methods

adjustControl Method

Declaration

adjustControl(): void

collapseAll Method

Declaration

collapseAll(): void

expandAll Method

Declaration

expandAll(): void

getHeight Method

Declaration

getHeight(): number

Returns

Type Description
number

getMainElement Method

Declaration

getMainElement(): any

Returns

Type Description
any

getNode Method

Declaration

getNode(index: number): BootstrapTreeViewNode | null

Parameters

Type Name Description
number index

Returns

Type Description
BootstrapTreeViewNode
null

getNodeByName Method

Declaration

getNodeByName(name: string): BootstrapTreeViewNode | null

Parameters

Type Name Description
string name

Returns

Type Description
BootstrapTreeViewNode
null

getNodeByText Method

Declaration

getNodeByText(text: string): BootstrapTreeViewNode | null

Parameters

Type Name Description
string text

Returns

Type Description
BootstrapTreeViewNode
null

getNodeCount Method

Declaration

getNodeCount(): number

Returns

Type Description
number

getParentControl Method

Declaration

getParentControl(): any

Returns

Type Description
any

getRootNode Method

Declaration

getRootNode(): BootstrapTreeViewNode | null

Returns

Type Description
BootstrapTreeViewNode
null

getSelectedNode Method

Declaration

getSelectedNode(): BootstrapTreeViewNode | null

Returns

Type Description
BootstrapTreeViewNode
null

getVisible Method

Declaration

getVisible(): boolean

Returns

Type Description
boolean

getWidth Method

Declaration

getWidth(): number

Returns

Type Description
number

inCallback Method

Declaration

inCallback(): boolean

Returns

Type Description
boolean

off Method

Declaration

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

Parameters

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

Returns

Type Description
this

on Method

Declaration

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

Parameters

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

Returns

Type Description
this

once Method

Declaration

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

Parameters

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

Returns

Type Description
this

sendMessageToAssistiveTechnology Method

Declaration

sendMessageToAssistiveTechnology(message: string): void

Parameters

Type Name Description
string message

setHeight Method

Declaration

setHeight(height: number): void

Parameters

Type Name Description
number height

setSelectedNode Method

Declaration

setSelectedNode(node: BootstrapTreeViewNode): void

Parameters

Type Name Description
BootstrapTreeViewNode node

setVisible Method

Declaration

setVisible(visible: boolean): void

Parameters

Type Name Description
boolean visible

setWidth Method

Declaration

setWidth(width: number): void

Parameters

Type Name Description
number width