dondotree

Tree is used to display hierarchical data..Dondo Treecomponent fulfill all WCAG standards for accesible tree component. # Usage

Usage no npm install needed!

<script type="module">
  import dondotree from 'https://cdn.skypack.dev/dondotree';
</script>

README

Purpose

Tree is used to display hierarchical data..Dondo Treecomponent fulfill all WCAG standards for accesible tree component.

Usage

Import to NgModule: import {DondoTreeModule} from 'dondotree' Use tag for use the component.

Input and Outputs

Input

● elementID – type: string . This input must be unique becouse define the ID of the element if elementID is null component automaticaly generate the ID.

● input– type: TreeNode[]. Input data for the component.

● showFromLevel – type: number with default value 0. Defines the level of the tree from where we want to show data.

Output

● selectedItemSender– type: TreeNode. Return the selected node.

Dependecies

  1. bootstrap (npm install bootstrap --save)
  2. jquery(npm install jquery --save)
  3. popper js (npm install popper.js --save)
  4. fortAwesome icons (npm i @fortawesome/fontawesome-free )