Vue.draggable: Add class or id attribute to the component

Created on 24 Aug 2017  路  2Comments  路  Source: SortableJS/Vue.Draggable

Currently only the element can be changed (by default DIV). It would be great if you could add a class name or id.

Most helpful comment

@willywg , you can add class or id on component, like:

<vuedraggable id="draggable" class="class">

All 2 comments

@willywg , you can add class or id on component, like:

<vuedraggable id="draggable" class="class">

Was this page helpful?
0 / 5 - 0 ratings