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
a475434f
Commit
a475434f
authored
Nov 17, 2014
by
Pavel Reznikov
Browse files
samples
parent
55777915
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
a475434f
...
...
@@ -80,6 +80,10 @@ Usage
Occurs when widgets change their position/size
```
javascript
var
serialize_widget_map
=
function
(
items
)
{
console
.
log
(
items
);
};
$
(
'
.grid-stack
'
).
on
(
'
change
'
,
function
(
e
,
items
)
{
serialize_widget_map
(
items
);
});
...
...
@@ -111,7 +115,7 @@ Removes widget from the grid.
Parameters:
-
`el`
- widget to
add
-
`el`
- widget to
remove
## Use with knockout.js
...
...
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