Open benjamincharity opened 5 years ago
@benjamincharity I would love to work on this feature, please can you elaborate the requirements
Absolutely! Let me work up a better requirements list today/tomorrow and then I'll update this issue ๐
Updated ๐
Material CDK offers a
tree
component that can be used for our base. The Material Tree component uses it as a base, so we could lift some of their implementation if it helps. (links for both below)Requirements
ts-tree
foo > bar > baz
(ie can be nested)treeIcons
input{open: 'my-icon', closed: 'my-other-icon'}
keyboard_arrow_right
when closed,keyboard_arrow_down
when opennodeIcon
inputisDisabled
inputtsTreeNodeToggle
is found in the template. If found, only clicking that element will toggle the tree.ts-tree-node
tsTreeNodeToggle
recursiveToggle
property[tsTreeNodeToggleRecursive]="true"
inputPossible usage examples:
Resources