Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
open-source
gridstack.js
Commits
c0c1e47f
Commit
c0c1e47f
authored
Sep 05, 2017
by
radiolips
Committed by
GitHub
Sep 05, 2017
Browse files
Merge pull request #749 from luckylooke/patch-3
Added data-gs-id to item attributes list
parents
c7642bfe
ba41f9a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/README.md
View file @
c0c1e47f
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment