HTML5 Drag and Drop Extension - Vaadin Add-on Directory
HTML5 Drag and Drop ExtensionPolyfill integration
Issue tracking
Demo
HTML5 Drag and Drop Extension version 0.0.1
HTML5 Drag and Drop Extension version 0.0.2
- effect allowed is now set to "move" when start dragging
- drag data is now set to key "text/plain"
- drag data is now removed on drag end
HTML5 Drag and Drop Extension version 0.0.3
Added JavaDocs.
Class names for dragged component is now added/removed automatically when a drag event starts / ends. Same for the drop target, when a dragged component enters / leaves the drop area. The class names are
- `dragged` and component-element-tag + `dragged` (for a Div will be then `class="dragged div-dragged"`)
- `dragover` and component-element-tag + `dragover` (for a Div will be then `class="dragover div-dragover"`)
Drop targets will also be now marked via css class as droptarget and have following classes:
- `droptarget` and component-element-tag + `droptarget` (for a Div will be then `class="droptarget div-droptarget"`)
The class `droptarget` is also used for client side checks, if a drop is allowed there (server side check will follow up later).
HTML5 Drag and Drop Extension version 0.0.4
- fixed a bug where the drop target got the wrong init class name
HTML5 Drag and Drop Extension version 0.0.5
- fixed a bug where the drop target got the wrong init class name
- propagation of drop event gets stopped now and won't be propagated to parent elements
HTML5 Drag and Drop Extension version 1.0.0
- integrated support for Polyfill
- added event handler to prevent scrolling on iOS devices when dragging elements around
- updated maturity to "Beta"
HTML5 Drag and Drop Extension version 1.0.1
- integrated support for Polyfill
- added event handler to prevent scrolling on iOS devices when dragging elements around
- updated maturity to "Beta"
HTML5 Drag and Drop Extension version 1.0.2
- fixed an issue with using the addon in an application in production mode
HTML5 Drag and Drop Extension version 1.0.3
- removed parent
- updated to Vaadin 10.0.6
HTML5 Drag and Drop Extension version 1.0.4
Added a fix for error undefined `e.target.classList`.
HTML5 Drag and Drop Extension version 1.0.5
Fix for https://github.com/stefanuebe/vaadin-html5-drag-and-drop/issues/4
Thanks to Tomáš and Robert for their support at this fix.
HTML5 Drag and Drop Extension version 1.1.0
- the current active drag source now automatically gets registered in the current session based on the current UI on drag start and unregistered on drag end
- drop extension events can obtain the current active drag source
- drag source can store optional additional (server side) drag data
- dropped elements are no longer added automatically to the drop target, but must be added manually via server side API (e.g. `event.getComponent.add(event.getDragSource().getComponent())`)