Commit c0c1e47f authored by radiolips's avatar radiolips Committed by GitHub
Browse files

Merge pull request #749 from luckylooke/patch-3

Added data-gs-id to item attributes list
parents c7642bfe ba41f9a8
......@@ -103,6 +103,7 @@ gridstack.js API
- `data-gs-x`, `data-gs-y` - element position
- `data-gs-width`, `data-gs-height` - element size
- `data-gs-id`- good for quick identification (for example in change event)
- `data-gs-max-width`, `data-gs-min-width`, `data-gs-max-height`, `data-gs-min-height` - element constraints
- `data-gs-no-resize` - disable element resizing
- `data-gs-no-move` - disable element moving
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment