- add
margin
option now support multi values CSS format'5px 10px 0 20px'
or'5em 10em'
- add
data-gs-static-grid
attribute - fix
class="ui-draggable-disabled ui-resizable-disabled"
have been added back to static grid items, so existing CSS rule to style continue working #1435 - fix getting DOM element by id with number works (api that uses
GridStackElement
handle more string formats) - fix setting
marginTop
(or any 4 sides) caused resize to break. Marking legacy as I recommend using new margin format. Thanks @deadivan for suggested fix.