Open ghost opened 8 years ago
It seems that, when creating the gridster element, the resize.enabled should be define at true
I can confirm this.
resize: {
enabled: false,
},
... fails when using grid.enable_resize()
and grid.disable_resize()
.
resize: {
enabled: true,
},
... will work.
Currently, to work around it, simply do:
var grid = $("#container").gridster({
resize: {
enabled: true,
},
});
grid.disable_resize();
Hi, I'm using gridster with polymer.
When trying to enabled resize (with this.gridster.enabled_resize() ) an error occured
Uncaught TypeError: Cannot read property 'enable' of undefined
It seems that resize_api is not defined