Skip to content

Dynamic tiles and serialization

Latest
Compare
Choose a tag to compare
@vpusher vpusher released this 29 Sep 06:40
· 3 commits to master since this release
  • 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()