Options
All
  • Public
  • Public/Protected
  • All
Menu

Tree view component built using vanilla JavaScript and CSS.

The component makes use of Font Awesome icons, so classes such as fa-folder or fa-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