Grid methods
This method allows to initialize a grid layout. It’s mainly used if you destroy()
the instance. Otherwise, there isn’t any reason to init()
grid layout since it’s automatically done by the plugin on load.
[pastacode lang=”javascript” manual=”wpgb.grid.init()%3B” message=”” highlight=”” provider=”manual”/]
You can destroy grid layout instance at any time thanks to this method.
[pastacode lang=”javascript” manual=”wpgb.grid.destroy()%3B” message=”” highlight=”” provider=”manual”/]
This method allows to layout a grid. It can be useful to trigger a layout after a size changed without triggering a window resize event.
[pastacode lang=”javascript” manual=”wpgb.grid.layout()%3B” message=”” highlight=”” provider=”manual”/]