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

Skip to content

Commit aa62cca

Browse files
committed
add move/resize API methods doc
1 parent 06d0100 commit aa62cca

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,24 @@ Parameters:
119119

120120
- `el` - widget to remove
121121

122+
### resize(el, width, \[height\])
123+
124+
Changes widget size
125+
126+
Parameters:
127+
128+
- `el` - widget to resize
129+
- `width`, `height` - new dimensions
130+
131+
### move(el, x, \[y\])
132+
133+
Changes widget position
134+
135+
Parameters:
136+
137+
- `el` - widget to move
138+
- `x`, `y` - new position
139+
122140
### resizable(el, val)
123141

124142
Enables/Disables resizing.
@@ -192,6 +210,7 @@ Changes
192210

193211
#### v0.1.1 (development version)
194212

213+
- add `resize` and `move` API methods
195214
- add `resizable` and `movable` API methods
196215
- add `data-gs-no-move` attribute
197216
- add `float` option

0 commit comments

Comments
 (0)