Skip to content

Releases: vpusher/the-grid

Dynamic tiles and serialization

29 Sep 06:40
Compare
Choose a tag to compare
  • Tiles/Children of the grid are now grabbed dynamically thanks to MutationObserver. It means that children can be added either trough <template> generated elements or appended in the code, events will always be properly attached and detached.
  • State of the grid (tiles positions and sizes) can now be serialized into JSON with the method #serialize()

Ability to add constraints on tile size as min/max

16 Jun 10:51
Compare
Choose a tag to compare

Adds the following attributes:

  • min-width
  • max-width
  • min-height
  • max-height

Those attributes can either be set on the tile element itself or on the grid element to constraint all tiles.

Introduce auto-grow feature and custom events.

01 Jun 09:21
Compare
Choose a tag to compare
  • Auto-grow allow the grid to increase its size as the user push a tile on the grid edges. Auto-grow can be enabled either on columns with col-autogrow attribute, or on rows with row-autogrow attribute (or both).
  • Custom events are now fired when a tile is moved or resized, respectively named move and resize. They occurs only when click or tap is released (on drop).
  • Adds a responsive grid demo in demo/responsive.html

Introduce overlappable feature

18 May 08:15
Compare
Choose a tag to compare
  • Adds overlappable attribute
  • Stops track events bubbling in the root container
  • Adds some regression tests
  • Fixes tile size in shadydom

Allow to generate grid's children with templates.

05 May 15:29
Compare
Choose a tag to compare
v1.0.3

:bookmark: release 1.0.3

Fixes shadow dom wrapping.

20 Apr 08:17
Compare
Choose a tag to compare
v1.0.2

🔖 - release 1.0.2

Enhanced mobile support

31 Mar 07:52
Compare
Choose a tag to compare
v1.0.1

🔖 release v1.0.1

Initial release

30 Mar 13:59
Compare
Choose a tag to compare
v1.0.0

initial release v1.0.0