Demo » Resize » gridster.js

# Resize with limits

Use `resize.max_size` and `resize.min_size` config options or `data-max-sizex`, `data-max-sizey`, `data-min-sizex` and `data-min-sizey` HTML attributes to limit widget dimensions when resizing.

If a global max_size is specified through the config option, can be overwrited in specified widgets with HTML data-attributes or using `set_widget_max_size` method. This page has a global max limit of 4x4

- 0
  Overridden to 2, 6
- 1
  Overridden max-size to 6, 2
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
  Overridden min-size to 3, 3
- 10
- 11
- 12
- 13
- 14
- 15
- 16