Socket
Socket
Sign inDemoInstall

svelte-tree-display

Package Overview
Dependencies
184
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    svelte-tree-display

---


Version published
Weekly downloads
1
decreased by-87.5%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Svelte-Tree-View

Get started

Install the dependencies...

cd svelte-app
npm install

...then start Rollup:

npm run dev

Navigate to localhost:8080. You should see your app running. Edit a component file in src, save it, and reload the page to see your changes.

Basic usage

<SvelteTree data={mockData} />

For a more detail usage, checkout the Docs.

Data format

[
 {
	id: '0',
       name: `Kevin Klein`,
       checked: false,
       children: [],
 },
 {
	id: '1',
       name: `Marie Loth`,
       checked: false,
       children: [
              {
                     id: '1',
                     name: `Lisa Rot`,
                     checked: true,
                     children: [],
              }
       ],
 },
]

Keywords

FAQs

Last updated on 27 Jul 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc