Skip to content

Adding a new dragging widget #219

Open
@nunogois

Description

@nunogois

This grid is awesome, however I'm thinking about how I could add a dragging widget from a list of options. What I mean by this, is having a GridItem that is created and dragged into the GridLayout from an external div, for example, like this:
http://jsfiddle.net/eywraw8t/376743/ - Dragging one of the elements on the top to the GridLayout would let us add our new element wherever we want.

Creating widgets/griditems is the easy part, but how can I create one that gets dragged initially from my other div? Is there something I can do with the isDragging value?

Has anyone done something like this? Can you point me in the right direction?

Many thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions