Banner Opengraph

event Lightbox dragMove

Lightbox dragMove This event is triggered when dragging moves and the lightbox moves. Argument Type Description event object Original event object distance object Vector distances (x, y) of the pointer [pastacode lang=”javascript” manual=”wpgb.lightbox.on(%20’dragMove’%2C%20function(%20event%20)%20%7B%0A%09%0A%09console.log(%20’dragMove’%2C%20event%2C%20distance%20)%3B%0A%0A%7D%20)%3B” message=”” highlight=”” provider=”manual”/]

Banner Opengraph

Event Carousel select

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

Banner Opengraph

Event Lightbox dragStart

Lightbox dragStart This event is triggered when draging starts and lightbox starts scrolling Argument Type Description event object Original event object [pastacode lang=”javascript” manual=”wpgb.lightbox.on(%20’dragStart’%2C%20function(%20event%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

JS Events

JS Events JS Events are triggered every time change occurs. It can be triggered by an user interaction or reflects a programmatically change. Events are emitted in certain order as described in this documentation. Events can be catched directly in your grid settings or in your own JS script. All Event examples presented in this…