node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

treez

treez

A simple tree widget inspired by tree-view where the css is copied from! using yo-yo

example

var widget = require('treez')({
  root: root,
  onSelect: (selected) => console.log('selected', selected),
  onOpen: (opened) => console.log('opened', opened)
})
window.document.body.appendChild(widget.el)

see full-example

js-standard-style

Try it out! view on requirebin