Options
All
  • Public
  • Public/Protected
  • All
Menu

Tree view component built using the Bootstrap (v5) framework.

The component makes use of Bootstrap Icons, so classes such as bi-folder or bi-clock can be used in INode's icon property.

Hierarchy

Index

Constructors

constructor

Properties

Protected container

container: HTMLElement

Protected Optional onSelectionChanged

onSelectionChanged: (nodes: INode[]) => void

Type declaration

    • Parameters

      Returns void

Protected provider

provider: IDataProvider

Protected root

root: HTMLElement

Methods

Protected attach

  • attach(): void

Protected detach

  • detach(): void

Protected onNodeClicked

  • onNodeClicked(node: INode, el: HTMLElement): void

Protected onNodeCollapsed

  • onNodeCollapsed(node: INode, el: HTMLElement): void

Protected onNodeExpanded

  • onNodeExpanded(node: INode, el: HTMLElement): void

Protected onNodeLoading

  • onNodeLoading(node: INode, el: HTMLElement): void

Protected renderNode

  • renderNode(node: INode): HTMLElement

Generated using TypeDoc