Event facet refresh

Description#Description This event is triggered before facets are refreshed. Example#Example [pastacode lang=”javascript” manual=”wpgb.facets.on(%20’refresh’%2C%20function()%20%7B%0A%0A%09console.log(%20’refresh’%2C%20this.facets%20)%3B%0A%0A%7D%20)%3B” message=”” highlight=”” provider=”manual”/]

Banner Opengraph

Event Grid layout

Grid layout This event is triggered after grid items are lay out. Argument Type Description items array Hold grid items [pastacode lang=”javascript” manual=”wpgb.grid.on(%20’layout’%2C%20function(%20items%20)%20%7B%0A%09%0A%09console.log(%20’layout’%2C%20items%20)%3B%0A%0A%7D%20)%3B” message=”” highlight=”” provider=”manual”/]

Banner Opengraph

FAQ Compatibility

Compatibility FAQ Yes, Gridbuilder ᵂᴾ works with any theme following WordPress standards. If you encounter compatibility issue you can get a refund during the 14 Days Money Back Guarantee. Of course! Gridbuilder ᵂᴾ comes with 2 blocks (grid and facet) for Gutenberg. And you can also use shortcodes to render grids and facets on your…

Banner Opengraph

Event Lightbox loaded

Lightbox loaded This event is triggered when the lightbox item is loaded. Argument Type Description item node Node opened in the lightbox [pastacode lang=”javascript” manual=”wpgb.lightbox.on(%20’loaded’%2C%20function(%20item%20)%20%7B%0A%09%0A%09console.log(%20’loaded’%2C%20item%20)%3B%0A%0A%7D%20)%3B” message=”” highlight=”” provider=”manual”/]

Banner Opengraph

Event Carousel change

Carousel change This event is triggered when a slide is selected. Argument Type Description index number Selected slide index [pastacode lang=”javascript” manual=”wpgb.carousel.on(%20’change’%2C%20function(%20index%20)%20%7B%0A%09%0A%09console.log(%20’selected%20slide’%2C%20index%20)%3B%0A%0A%7D%20)%3B” message=”” highlight=”” provider=”manual”/]

Banner Opengraph

Event Carousel dragStart

Carousel dragStart This event is triggered when draging starts and slider starts scrolling. Argument Type Description event object Original event object [pastacode lang=”javascript” manual=”wpgb.carousel.on(%20’dragStart’%2C%20function(%20index%20)%20%7B%0A%09%0A%09console.log(%20’dragStart’%2C%20event%20)%3B%0A%0A%7D%20)%3B” message=”” highlight=”” provider=”manual”/]

Banner Opengraph

Lightbox methods

Lightbox methods This method allows to initialize the lightbox attach to a grid. It’s mainly used if you destroy() the instance. Otherwise, there isn’t any reason to init() the lightbox since it’s automatically done by the plugin on load. [pastacode lang=”javascript” manual=”wpgb.lightbox.init()%3B” message=”” highlight=”” provider=”manual”/] You can destroy the lightbox instance attached to grid at…

Banner Opengraph

Event Lightbox close

Lightbox close This event is triggered before the lightbox closes. Argument Type Description item node Node opened in the lightbox [pastacode lang=”javascript” manual=”wpgb.lightbox.on(%20’close’%2C%20function(%20item%20)%20%7B%0A%09%0A%09console.log(%20’close’%2C%20item%20)%3B%0A%0A%7D%20)%3B” message=”” highlight=”” provider=”manual”/]

Banner Opengraph

Facet methods

Facet methods This method allows to initialize facets script. It’s mainly used if you destroy() the instance. Otherwise, there isn’t any reason to init() facets since it’s automatically done by the plugin on load. [pastacode lang=”javascript” manual=”wpgb.facets.init()%3B” message=”” highlight=”” provider=”manual”/] You can destroy facets instance at any time thanks to this method. [pastacode lang=”javascript” manual=”wpgb.facets.destroy()%3B”…

Banner Opengraph

Installation

Installation Before to install the plugin, you need to download it from your account (or from your purchase confirmation email). There are two ways to install the Gridbuilder ᵂᴾ plugin. Log in to your WP install From the Administration Panels, click on the Plugins Menu Under Plugins, click the Add New sub menu Click Upload Plugin, and choose…