From 6819157a1377416d7d273cd99d79af65301edac4 Mon Sep 17 00:00:00 2001 From: Julian Leucker <leuckerj@gmail.com> Date: Fri, 18 Aug 2023 18:02:13 +0200 Subject: [PATCH] Document isDraggedOver --- docs/guide/index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/guide/index.md b/docs/guide/index.md index 9b6d2f8..1157755 100644 --- a/docs/guide/index.md +++ b/docs/guide/index.md @@ -77,6 +77,10 @@ disabledFields: [ ]; ``` +To highlight, which fields are disabled, the `disabledField` slot can be used. It receives the slot prop `isDraggedOver`, +which is a boolean indicating whether something is currently dragged over the grid. This can be used to only show the +disabled fields when something is dragging. An example for this can be found in Example number 7. + ## Prevent items from being dragged To disable dragging of a specific item, simply set the attribute `disabled` of the item to `true`. -- GitLab