Setting this value to “true” (or a class name) transform the tag into a draggable item by inserting a drag handle of class “drag_handle” or of the class provided with draggable='className'.
Example:
Zafu:
<td do='link' draggable='true'/>
html:
<td id='list1_34'><a href...
result:
unknown document
The span tag is only inserted on drag activation by Javascript at the end of the page. They will therefore not appear if Javascript is disabled. Zena does not insert a tag if there is already one present with the given class.
all
If you want to make an element draggable by clicking anywhere on its surface, you have to use draggable='all'.
<r:img draggable='all'/>
You should not use ‘all’ option if your dragged element contains links because the click to drag would also trigger the link thus confusing the user.
revert
If revert is set to “remove”, the dragged element is removed from the page when dropped.
CSS & draggable
Making an element draggable changes its position to “relative”. This can produce some styling issues, especially if some <tr>
tags are involved.