Facet init
This event is triggered when facets are initialized before to be rendered asynchronously. Facets can be empty at this time if it was not put into cache by the plugin.
Argument | Type | Description |
facets | object | Holds facet ids and associated properties |
[pastacode lang=”javascript” manual=”wpgb.facets.on(%20’init’%2C%20function(%20facets%20)%20%7B%0A%09%0A%09console.log(%20’init’%2C%20facets%20)%3B%0A%0A%7D%20)%3B” message=”” highlight=”” provider=”manual”/]