BootstrapTreeViewNode Class

Declaration

export class BootstrapTreeViewNode extends Control

Inheritance

Control
BootstrapTreeViewNode

Properties

index Property

Declaration

index: number

Property Value

Type Description

name Property

Declaration

name: string

Property Value

Type Description

parent Property

Declaration

parent: BootstrapTreeViewNode | null

Property Value

Type Description

Property Value

Type Description

treeView Property

Declaration

treeView: BootstrapTreeView | null

Property Value

Type Description

Property Value

Type Description

Methods

getBadgeIconCssClass Method

Declaration

getBadgeIconCssClass(): string

Returns

Type Description

getBadgeText Method

Declaration

getBadgeText(): string

Returns

Type Description

getCheckState Method

Declaration

getCheckState(): string

Returns

Type Description

getChecked Method

Declaration

getChecked(): boolean

Returns

Type Description

getEnabled Method

Declaration

getEnabled(): boolean

Returns

Type Description

getExpanded Method

Declaration

getExpanded(): boolean

Returns

Type Description

getHtmlElement Method

Declaration

getHtmlElement(): any

Returns

Type Description

getIconCssClass Method

Declaration

getIconCssClass(): string

Returns

Type Description

getImageUrl Method

Declaration

getImageUrl(): string

Returns

Type Description

getNavigateUrl Method

Declaration

getNavigateUrl(): string

Returns

Type Description

getNode Method

Declaration

getNode(index: number): BootstrapTreeViewNode | null

Parameters

Type Name Description
index

Returns

Type Description

Returns

Type Description

getNodeByName Method

Declaration

getNodeByName(name: string): BootstrapTreeViewNode | null

Parameters

Type Name Description
name

Returns

Type Description

Returns

Type Description

getNodeByText Method

Declaration

getNodeByText(text: string): BootstrapTreeViewNode | null

Parameters

Type Name Description
text

Returns

Type Description

Returns

Type Description

getNodeCount Method

Declaration

getNodeCount(): number

Returns

Type Description

getText Method

Declaration

getText(): string

Returns

Type Description

getVisible Method

Declaration

getVisible(): boolean

Returns

Type Description

off Method

Declaration

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

Parameters

Type Name Description
eventName
callback

Returns

Type Description

on Method

Declaration

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

Parameters

Type Name Description
eventName
callback

Returns

Type Description

once Method

Declaration

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

Parameters

Type Name Description
eventName
callback

Returns

Type Description

setBadgeIconCssClass Method

Declaration

setBadgeIconCssClass(cssClass: string): void

Parameters

Type Name Description
cssClass

setBadgeText Method

Declaration

setBadgeText(text: string): void

Parameters

Type Name Description
text

setChecked Method

Declaration

setChecked(value: boolean): void

Parameters

Type Name Description
value

setEnabled Method

Declaration

setEnabled(value: boolean): void

Parameters

Type Name Description
value

setExpanded Method

Declaration

setExpanded(value: boolean): void

Parameters

Type Name Description
value

setIconCssClass Method

Declaration

setIconCssClass(cssClass: string): void

Parameters

Type Name Description
cssClass

setImageUrl Method

Declaration

setImageUrl(value: string): void

Parameters

Type Name Description
value

setNavigateUrl Method

Declaration

setNavigateUrl(value: string): void

Parameters

Type Name Description
value

setText Method

Declaration

setText(value: string): void

Parameters

Type Name Description
value

setVisible Method

Declaration

setVisible(value: boolean): void

Parameters

Type Name Description
value