1.3.2 • Published 2 years ago

simple-tree-component v1.3.2

Weekly downloads
17
License
MIT
Repository
github
Last release
2 years ago

Simple Tree Component

build codecov NPM

This pure JavaScript component comes without any dependencies and is targeted to modern browsers. Full TypeScript support is available.

Installation

Install with NPM:

npm install simple-tree-component

TypeScript definitions are included in the npm package.

Usage

import simpleTree from "simple-tree-component";

const instance = simpleTree(".root-1", "singleSelectDropdown", {
    nodes: [
        {
            label: "Parent 1",
            value: "p1",
            children: [
                {
                    label: "Parent 1 - Child 1",
                    value: "p1c1"
                },
                {
                    label: "Parent 1 - Child 2",
                    value: "p1c2"
                }
            ]
        }
    ]
});

instance.setReadOnly(true);

You can find more documentation here.

License

Changelog

Blog post

https://dev.to/ckotzbauer/announcing-the-simple-tree-component-46nd

Contributing

Please refer to the Contribution guildelines.

Code of conduct

Please refer to the Conduct guildelines.

Security

Please refer to the Security process.

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago

1.0.0-beta.11

3 years ago

1.0.0-beta.12

3 years ago

1.0.0-beta.10

3 years ago

1.0.0-beta.6

3 years ago

1.0.0-beta.7

3 years ago

1.0.0-beta.8

3 years ago

1.0.0-beta.9

3 years ago

1.0.0-beta.13

3 years ago

1.0.0-beta.5

3 years ago

1.0.0-beta.4

3 years ago

1.0.0-beta.3

3 years ago

1.0.0-beta.2

3 years ago

1.0.0-beta.1

4 years ago

1.0.0-alpha.2

4 years ago

1.0.0-alpha.1

4 years ago