Skip to content

Drag and Drop Event Listeners ?? is there any #310

Open
@AbdullahMateen

Description

@AbdullahMateen
  • Version: "@grapoza/vue-tree": "^3.1.2",
  • Is there any drag and drop event listeners?
    Consider i have a three layer tree view. There are few things that i want to achieve with it.
├── Layer 1 (root)              # true
    ├── Layer 2 (head)          # true
        ├── Layer 3 (child)     # true
        ├── Layer 3 (child)     # true
    ├── Layer 2 (head)          # true
        ├── Layer 3 (child)     # true
        ├── Layer 2 (head)      # false => 2nd layer cannot be child of 2nd layer
    ├── Layer 2 (head)          # true
    ├── Layer 2 (head)          # true
        ├── Layer 3 (child)     # true
            ├── Layer 3 (child) # false => 3rd layer cannot be child of 3rd layer
        ├── Layer 3 (child)     # true
    ├── Layer 3 (child)         # true => 3rd layer can be on 2nd layer
  • I want to restrict 2nd layer to be droped as child of 2nd layer.
  • I want to restrict 3nd layer to be droped as child of 3nd layer.
  • I want to know when nodes are moved (order changed/parent change) so i can update database

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions