Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ad192cc

Browse files
committed
describe item attributes
1 parent d2ec3bc commit ad192cc

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ Usage
2424

2525
Coming soon...
2626

27+
## Item attributes
28+
29+
- `data-gs-x`, `data-gs-y` - element position
30+
- `data-gs-width`, `data-gs-height` - element size
31+
- `data-gs-max-width`, `data-gs-min-width`, `data-gs-max-height`, `data-gs-min-height` - element constraints
32+
- `data-gs-no-resize` - disable element resizing
33+
- `data-gs-auto-position` - tells to ignore `data-gs-x` and `data-gs-y` attributes and to place element to first available
34+
position
35+
2736
## Use with knockout.js
2837

2938
```javascript

0 commit comments

Comments
 (0)