2.0.0-alpha.1 • Published 1 year ago
@visual-framework/vf-tree v2.0.0-alpha.1
Tree component
About
A collapsable tree list suited for list displays or deep navigation structures.
Install
This repository is distributed with npm. After installing npm, you can install vf-tree
with this command.
$ yarn add --dev @visual-framework/vf-tree
Usage
There are several paramaters availabl when using the Nunjucks template:
expanded: true
Control if the entire tree is expanded/collpasedsublist
if an object oftitle
s the item will be shown as a groupartiveTrail: true
Highlights a tree as an active path and if it is a sublist, opens it
You can see this component in action in the EMBL-EBI online tutorials, e.g. A guide to bioinformatics.
Sass/CSS
The source files included are written in Sass (scss
) Point your sass include-path
at your node_modules
directory and import it like this.
@import "@visual-framework/vf-tree/index.scss";
Make sure you import Sass requirements along with the modules. You can use a project boilerplate or the vf-sass-starter
Help
2.0.0-alpha.1
1 year ago
2.0.0-alpha.0
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
4 years ago
1.0.0-beta.2
4 years ago
1.0.0-beta.1
4 years ago
0.0.2-alpha.0
5 years ago