0.0.2 • Published 12 months ago

multi-select-checkbox-tree v0.0.2

Weekly downloads
-
License
-
Repository
-
Last release
12 months ago

MultiSelectCheckboxTree

This library was generated with Angular CLI version 16.0.0.

How to use

  • Npm install package.
  • Insert MultiSelectCheckboxModule into the Imports in AppModule
  • Use <lib-multi-select-checkbox-tree></lib-multi-select-checkbox-tree> in the template to see the map.

  • Pass in the required inputs: control: FormControl, label: string, treeData: TreeNode

  • Selections will be an output of type FlatNode[]

Interface

TreeNode = { id: string; parentId?: string; name: string; children?: TreeNode[]; }

FlateNode = { id: string; parentId: string; name: string; expandable: boolean; level: number; hasChild?: boolean; }

0.0.2

12 months ago

0.0.1

12 months ago