BootstrapTreeViewNode Class

Declaration

export class BootstrapTreeViewNode extends Control

Inheritance

Control
BootstrapTreeViewNode

Properties

index Property

Declaration

index: number

Property Value

Type Description
number

name Property

Declaration

name: string

Property Value

Type Description
string

parent Property

Declaration

parent: BootstrapTreeViewNode | null

Property Value

Type Description
BootstrapTreeViewNode
null

treeView Property

Declaration

treeView: BootstrapTreeView | null

Property Value

Type Description
BootstrapTreeView
null

Methods

adjustControl Method

Declaration

adjustControl(): void

getBadgeIconCssClass Method

Declaration

getBadgeIconCssClass(): string

Returns

Type Description
string

getBadgeText Method

Declaration

getBadgeText(): string

Returns

Type Description
string

getCheckState Method

Declaration

getCheckState(): string

Returns

Type Description
string

getChecked Method

Declaration

getChecked(): boolean

Returns

Type Description
boolean

getEnabled Method

Declaration

getEnabled(): boolean

Returns

Type Description
boolean

getExpanded Method

Declaration

getExpanded(): boolean

Returns

Type Description
boolean

getHeight Method

Declaration

getHeight(): number

Returns

Type Description
number

getHtmlElement Method

Declaration

getHtmlElement(): any

Returns

Type Description
any

getIconCssClass Method

Declaration

getIconCssClass(): string

Returns

Type Description
string

getImageUrl Method

Declaration

getImageUrl(): string

Returns

Type Description
string

getMainElement Method

Declaration

getMainElement(): any

Returns

Type Description
any

getNavigateUrl Method

Declaration

getNavigateUrl(): string

Returns

Type Description
string

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

getText Method

Declaration

getText(): string

Returns

Type Description
string

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: BootstrapTreeViewNode, args?: BootstrapTreeViewNodeEventMap[K]) => void): this

Parameters

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

Returns

Type Description
this

on Method

Declaration

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

Parameters

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

Returns

Type Description
this

once Method

Declaration

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

Parameters

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

Returns

Type Description
this

sendMessageToAssistiveTechnology Method

Declaration

sendMessageToAssistiveTechnology(message: string): void

Parameters

Type Name Description
string message

setBadgeIconCssClass Method

Declaration

setBadgeIconCssClass(cssClass: string): void

Parameters

Type Name Description
string cssClass

setBadgeText Method

Declaration

setBadgeText(text: string): void

Parameters

Type Name Description
string text

setChecked Method

Declaration

setChecked(value: boolean): void

Parameters

Type Name Description
boolean value

setEnabled Method

Declaration

setEnabled(value: boolean): void

Parameters

Type Name Description
boolean value

setExpanded Method

Declaration

setExpanded(value: boolean): void

Parameters

Type Name Description
boolean value

setHeight Method

Declaration

setHeight(height: number): void

Parameters

Type Name Description
number height

setIconCssClass Method

Declaration

setIconCssClass(cssClass: string): void

Parameters

Type Name Description
string cssClass

setImageUrl Method

Declaration

setImageUrl(value: string): void

Parameters

Type Name Description
string value

setNavigateUrl Method

Declaration

setNavigateUrl(value: string): void

Parameters

Type Name Description
string value

setText Method

Declaration

setText(value: string): void

Parameters

Type Name Description
string value

setVisible Method

Declaration

setVisible(value: boolean): void

Parameters

Type Name Description
boolean value

setWidth Method

Declaration

setWidth(width: number): void

Parameters

Type Name Description
number width