A collapsable tree list suited for list displays or deep navigation structures.
$ yarn add --dev @visual-framework/vf-tree
There are several paramaters availabl when using the Nunjucks template:
expanded: trueControl if the entire tree is expanded/collpased
sublistif an object of
titles the item will be shown as a group
artiveTrail: trueHighlights a tree as an active path and if it is a sublist, opens it
The source files included are written in [Sass]sass Point your sass
include-path at your
node_modules directory and import it like this.