JSPM

  • Created
  • Published
  • Downloads 226
  • Score
    100M100P100Q80018F
  • License MIT

Provide flat, virtual snapshot of a tree

Package Exports

  • xtal-tree
  • xtal-tree/xtal-tree-basic.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (xtal-tree) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Published on webcomponents.org

<xtal-tree>

The details element provides a way to create tree structures with pure HTML. Performance is surprisingly good, and may not require any virtual scrollers, even for fairly large tree structures.

However, such trees lack some capabilities expected from a tree component, such as search, sort and expandAll/Collapse All. This library contains a helper "decorator" function, XtalTreeDeco, which adds such capabilities.

This package also contains a custom element, xtal-tree (xtal-tree.js) which takes JavaScript tree structure, and provides the same capabilities.

Viewing Your Element

$ polymer serve