Table of Contents generated with DocToc
- v0.1.0 (development)
- v0.4.0
- v0.3.0 (2017-04-21)
- v0.2.6 (2016-08-17)
- v0.2.5 (2016-03-02)
- v0.2.4 (2016-02-15)
- v0.2.3 (2015-06-23)
- v0.2.2 (2014-12-23)
- v0.2.1 (2014-12-09)
- v0.2.0 (2014-11-30)
- v0.1.0 (2014-11-18)
- emit
dropped
event when a widget is dropped from one grid into another (#823). - don't throw error if no bounding scroll element is found (#891).
- don't push locked widgets even if they are at the top of the grid (#882).
- widgets can have their own resize handles. Use
data-gs-resize-handles
element attribute to use. For example,data-gs-resize-handles="e,w"
will make the particular widget only resize west and east. (#494). - enable sidebar items to be duplicated properly. Pass
helper: 'clone'
indraggable
options. (#661, (#396, (#499). - fix
staticGrid
grid option (#743) - preserve inline styles when moving/cloning items (thanks @silverwind)
- fix bug causing heights not to get set (#744)
- allow grid to have min-height, fixes (#628) (thanks @adumesny)
- widget x and y are now ints (thanks @DonnchaC)
- allow all droppable options (thanks @vigor-vlad)
- properly track mouse position in
getCellFromPixel
(thanks @aletorrado) - remove instance of
!important
(thanks @krilllind) - scroll when moving widget up or down out of viewport (#827)
- remove placeholder when dragging widget below grid (already worked when dragging left, above, and to the right of grid).
- prevent extra checks for removing widget when dragging off grid.
- trigger
added
when a widget is added via dropping from one grid to another. - trigger
removed
when a widget is removed via dropping from one grid to another. - trigger
removed
when a widget is removed via dropping on a removable zone (#607 and [#550])(gridstack#550)). - trigger custom event for
resizestop
calledgsresizestop
(#577 and #398). - prevent dragging/resizing in
oneColumnMode
(#593). - add
oneColumnModeClass
option to grid. - remove 768px CSS styles, moved to grid-stack-one-column-mode class.
- add max-width override on grid-stck-one-column-mode (#462).
- add internal function
isNodeChangedPosition
, minor optimization to move/drag. - drag'n'drop plugin system. Move jQuery UI dependencies to separate plugin file.
- update requirements to the latest versions of jQuery (v3.1.0+) and jquery-ui (v1.12.0+).
- fix jQuery
size()
(#486). - update
destroy([detachGrid])
call (#422). - don't mutate options when calling
draggable
andresizable
. (#505). - update _notify to allow detach (#411).
- fix code that checks for jquery-ui (#481).
- fix
cellWidth
calculation on empty grid
- update names to respect js naming convention.
cellHeight
andverticalMargin
can now be string (e.g. '3em', '20px') (Thanks to @jlowcs).- add
maxWidth
/maxHeight
methods. - add
enableMove
/enableResize
methods. - fix window resize issue #331.
- add options
disableDrag
anddisableResize
. - fix
batchUpdate
/commit
(Thank to @radiolips) - remove dependency of FontAwesome
- RTL support
'auto'
value forcellHeight
option- fix
setStatic
method - add
setAnimation
method to API - add
setGridWidth
method (#227) - add
removable
/removeTimeout
(experimental) - add
detachGrid
parameter todestroy
method (#216) (thanks @jhpedemonte) - add
useOffset
parameter togetCellFromPixel
method (#237) - add
minWidth
,maxWidth
,minHeight
,maxHeight
,id
parameters toaddWidget
(#188) - add
added
andremoved
events for when a widget is added or removed, respectively. (#54) - add
acceptWidgets
parameter. Widgets can now be draggable between grids or from outside (experimental)
- fix closure compiler/linter warnings
- add
static_grid
option. - add
min_width
/min_height
methods (Thanks to @cvillemure) - add
destroy
method (Thanks to @zspitzer) - add
placeholder_text
option (Thanks to @slauyama) - add
handle_class
option. - add
make_widget
method. - lodash v 4.x support (Thanks to @andrewr88)
- gridstack-extra.css
- add support of lodash.js
- add
is_area_empty
method - nested grids
- add
batch_update
/commit
methods - add
update
method - allow to override
resizable
/draggable
options - add
disable
/enable
methods - add
get_cell_from_pixel
(thanks to @juchi) - AMD support
- fix nodes sorting
- improved touch devices support
- add
always_show_resize_handle
option - minor fixes and improvements
- fix grid initialization
- add
cell_height
/cell_width
API methods - fix boolean attributes (issue #31)
- add widgets locking (issue #19)
- add
will_it_fit
API method - fix auto-positioning (issue #20)
- add animation (thanks to @ishields)
- fix
y
coordinate calculation when dragging (issue #18) - fix
remove_widget
(issue #16) - minor fixes
- add
height
option - auto-generate css rules (widgets
height
andtop
) - add
GridStackUI.Utils.sort
utility function - add
remove_all
API method - add
resize
andmove
API methods - add
resizable
andmovable
API methods - add
data-gs-no-move
attribute - add
float
option - fix default css rule for inner content
- minor fixes
Very first version.