BootstrapTreeViewNode Class

Declaration
export class BootstrapTreeViewNode extends Control
Inheritance

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

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

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

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

getText method

Declaration
getText(): string
Returns
Type Description
string

getVisible method

Declaration
getVisible(): 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(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(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

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

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