@neovici/cosmoz-treenode-navigator

6.0.1 • Public • Published

cosmoz-treenode-navigator

Build Status semantic-release

cosmoz-treenode-navigator is a Polymer component that lets you navigate and search through hierarchically structured data-nodes and select one of them.

It needs an object structure which looks for example like this in JSON:

{
	"1": {
		"name": "Root",
		"children": {
			"7": {
				"name": "child seven",
				"children": {

				}
			},
			"8": {
				"name": "child eight",
				"children": {
					"9": {
						"name": "child nine",
						"children": {

						}
					}
				}
			}
		}
	}
}

The property names "name" and "children" are configurable in the component through the setting of "childProperty" and "comparisonProperty".

Readme

Keywords

Package Sidebar

Install

npm i @neovici/cosmoz-treenode-navigator

Weekly Downloads

65

Version

6.0.1

License

Apache-2.0

Unpacked Size

44.8 kB

Total Files

11

Last publish

Collaborators

  • nomego
  • cristinecula
  • wurper
  • megheaiulian