add data-gs-animate
attribute
This commit is contained in:
parent
4fed4cf215
commit
ea7bf03e6b
|
@ -284,7 +284,7 @@
|
||||||
min_width: 768,
|
min_width: 768,
|
||||||
float: false,
|
float: false,
|
||||||
_class: 'grid-stack-' + (Math.random() * 10000).toFixed(0),
|
_class: 'grid-stack-' + (Math.random() * 10000).toFixed(0),
|
||||||
animate: false
|
animate: Boolean(this.container.attr('data-gs-animate')) || false
|
||||||
});
|
});
|
||||||
|
|
||||||
this.container.addClass(this.opts._class);
|
this.container.addClass(this.opts._class);
|
||||||
|
|
Loading…
Reference in a new issue