From db713ec87ab182181f64e233ca29e5dc48dc41e5 Mon Sep 17 00:00:00 2001 From: Adam Wagner Date: Sun, 21 May 2017 21:23:47 +0300 Subject: Add style name to all dragged rows (#9388) * Add style name to all dragged rows to indicate that they are being dragged --- documentation/advanced/advanced-dragndrop.asciidoc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'documentation') diff --git a/documentation/advanced/advanced-dragndrop.asciidoc b/documentation/advanced/advanced-dragndrop.asciidoc index f9e21fbb5c..10d4ce2b01 100644 --- a/documentation/advanced/advanced-dragndrop.asciidoc +++ b/documentation/advanced/advanced-dragndrop.asciidoc @@ -298,6 +298,8 @@ The dragged rows can be accessed from both events using the `getDraggedItems()` A drag source Grid's rows have the `v-grid-row-dragsource` and the `v-draggable` style names applied to indicate that the rows are draggable. +Additionally, the style name `v-grid-row-dragged` is applied to all the dragged rows during the drag start event and removed during the drag end event. + === Grid as a Drop Target To make a Grid component's rows accept a drop event, apply the [classname]#GridDropTarget# extension to the component. When creating the extension, you need to specify where the transferred data can be dropped on. -- cgit v1.2.3