BootstrapTreeViewNode Class
Declaration
class BootstrapTreeViewNode extends Control
IMPORTANT
Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.
Properties
index Property
Declaration
readonly index: number
Property Value
name Property
Declaration
readonly name: string
Property Value
parent Property
Declaration
readonly parent: BootstrapTreeViewNode | null
Property Value
treeView Property
Declaration
readonly treeView: BootstrapTreeView | null
Property Value
Methods
getBadgeIconCssClass Method
Declaration
getBadgeIconCssClass(): string
Returns
getBadgeText Method
Declaration
getBadgeText(): string
Returns
getChecked Method
Declaration
getChecked(): boolean
Returns
getCheckState Method
Declaration
getCheckState(): string
Returns
getEnabled Method
Declaration
getEnabled(): boolean
Returns
getExpanded Method
Declaration
getExpanded(): boolean
Returns
getHtmlElement Method
Declaration
getHtmlElement(): any
Returns
getIconCssClass Method
Declaration
getIconCssClass(): string
Returns
getImageUrl Method
Declaration
getImageUrl(): string
Returns
getNavigateUrl Method
Declaration
getNavigateUrl(): string
Returns
getNode(index) Method
Declaration
getNode(
index: number
): BootstrapTreeViewNode | null
Parameters
Returns
getNodeByName(name) Method
Declaration
getNodeByName(
name: string
): BootstrapTreeViewNode | null
Parameters
Returns
getNodeByText(text) Method
Declaration
getNodeByText(
text: string
): BootstrapTreeViewNode | null
Parameters
Returns
getNodeCount Method
Declaration
getNodeCount(): number
Returns
getText Method
Declaration
getText(): string
Returns
getVisible Method
Declaration
getVisible(): boolean
Returns
off<K> Method
Declaration
off<K extends keyof BootstrapTreeViewNodeEventMap>(
eventName?: K,
callback?: (this: BootstrapTreeViewNode,
args?: BootstrapTreeViewNodeEventMap[K]) => void
): this
Parameters
Name |
Type |
eventName |
K |
callback |
(this: BootstrapTreeViewNode, args?: BootstrapTreeViewNodeEventMap[K]) => void |
Type Parameters
Returns
on<K>(eventName, callback) Method
Declaration
on<K extends keyof BootstrapTreeViewNodeEventMap>(
eventName: K,
callback: (this: BootstrapTreeViewNode,
args?: BootstrapTreeViewNodeEventMap[K]) => void
): this
Parameters
Name |
Type |
eventName |
K |
callback |
(this: BootstrapTreeViewNode, args?: BootstrapTreeViewNodeEventMap[K]) => void |
Type Parameters
Returns
once<K>(eventName, callback) Method
Declaration
once<K extends keyof BootstrapTreeViewNodeEventMap>(
eventName: K,
callback: (this: BootstrapTreeViewNode,
args?: BootstrapTreeViewNodeEventMap[K]) => void
): this
Parameters
Name |
Type |
eventName |
K |
callback |
(this: BootstrapTreeViewNode, args?: BootstrapTreeViewNodeEventMap[K]) => void |
Type Parameters
Returns
setBadgeIconCssClass(cssClass) Method
Declaration
setBadgeIconCssClass(
cssClass: string
): void
Parameters
Name |
Type |
cssClass |
string |
setBadgeText(text) Method
Declaration
setBadgeText(
text: string
): void
Parameters
setChecked(value) Method
Declaration
setChecked(
value: boolean
): void
Parameters
setEnabled(value) Method
Declaration
setEnabled(
value: boolean
): void
Parameters
setExpanded(value) Method
Declaration
setExpanded(
value: boolean
): void
Parameters
setIconCssClass(cssClass) Method
Declaration
setIconCssClass(
cssClass: string
): void
Parameters
Name |
Type |
cssClass |
string |
setImageUrl(value) Method
Declaration
setImageUrl(
value: string
): void
Parameters
setNavigateUrl(value) Method
Declaration
setNavigateUrl(
value: string
): void
Parameters
setText(value) Method
Declaration
setText(
value: string
): void
Parameters
setVisible(value) Method
Declaration
setVisible(
value: boolean
): void
Parameters