Skip to content
Snippets Groups Projects
Commit 6819157a authored by Julian's avatar Julian
Browse files

Document isDraggedOver

parent 55054310
No related branches found
No related tags found
1 merge request!12Pass dragging information to slot for disabled fields
Pipeline #142481 failed
......@@ -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`.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment