add_widget() now returns the newly created widget

This commit is contained in:
Julien Chichignoud 2015-01-29 11:12:22 +01:00
commit ef311e6fb1
2 changed files with 3 additions and 1 deletions

View file

@ -191,7 +191,7 @@ $('.grid-stack').on('resizestop', function (event, ui) {
### add_widget(el, x, y, width, height, auto_position)
Creates new widget.
Creates new widget and returns it.
Parameters: