Coder Social home page Coder Social logo

thanh01pmt / quasar-draggable-tree Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mayank091193/quasar-draggable-tree

0.0 0.0 0.0 341 KB

QDraggableTree is a component that displays hierarchical data with drag and drop ability.

Home Page: https://quasar-draggable-tree.netlify.com/docs

License: MIT License

JavaScript 14.83% Vue 85.17%

quasar-draggable-tree's Introduction

QDraggableTree

QDraggableTree is a Quasar App Extension. It is a component that displays hierarchical data with drag and drop ability.

Support

If this helped you, you can contribute to this project by supporting me:

Please check out my sponsor page.

(GitHub currently doubles your support! So if you support me with $5/mo, I will get $10 instead! ๐Ÿ˜‰)

Thank you very much!!

Install

To add this App Extension to your Quasar application, run the following (in your Quasar app folder):

quasar ext add qdraggabletree

After version 0.0.4, it is mandatory to have children object (Ex. children: []) even if the item has no children present.

Uninstall

To remove this App Extension from your Quasar application, run the following (in your Quasar app folder):

quasar ext remove qdraggabletree

Defining the data

    [
        {
            id: 1,
            label: 'Satisfied customers',
            children: [
                {
                    id: 2,
                    label: 'Good food',
                    children: [
                        {
                            id: 3,
                            label: 'Quality ingredients',
                            children: [],
                        },
                        {
                            id: 4,
                            label: 'Good recipe',
                            children: [],
                        }
                    ]
                },
                {
                    id: 5,
                    label: 'Good service',
                    children: [
                        {id: 6, label: 'Prompt attention', children: [],},
                        {id: 7, label: 'Professional waiter', children: [],}
                    ]
                },
                {
                    id: 8,
                    label: 'Pleasant surroundings',
                    children: [
                        {id: 9, label: 'Happy atmosphere', children: [],},
                        {id: 10, label: 'Good table presentation', children: [],},
                        {id: 11, label: 'Pleasing decor', children: [],}
                    ]
                }
            ]
        }
    ]

Source

can be found here.

Docs

can be found here.

Examples

can be found here.

Demo Project.

can be found here.

Roadmap

Default Expansion

quasar-draggable-tree's People

Contributors

mayank091193 avatar mayankpatel-incentius avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.