Checks
Version
v4.1.4
Description
Hello! I'm using bricks in wordpress, and bricks let us create splide sliders into the builder, they use their own scripts and i'm writing my own and i need to access splide instances to play animations of slide elements. But can't figure how to use Splide.some_Global_Method to remove existing instances to reinit all splide instances and can set events. Or HOW to get all existing instances created by bricks scripts and bind "active" event to my function.
Reproduction Link
No response
Steps to Reproduce
Install bricks
Create Nestable Slider
Try to bind custom script to active event in previous created instances of splide
Expected Behaviour
I would be great that if we know we are working with preini Splide instances, we can access all those instances to bind custom behaviors to existing events like active event, for example!
Checks
Version
v4.1.4
Description
Hello! I'm using bricks in wordpress, and bricks let us create splide sliders into the builder, they use their own scripts and i'm writing my own and i need to access splide instances to play animations of slide elements. But can't figure how to use Splide.some_Global_Method to remove existing instances to reinit all splide instances and can set events. Or HOW to get all existing instances created by bricks scripts and bind "active" event to my function.
Reproduction Link
No response
Steps to Reproduce
Install bricks
Create Nestable Slider
Try to bind custom script to active event in previous created instances of splide
Expected Behaviour
I would be great that if we know we are working with preini Splide instances, we can access all those instances to bind custom behaviors to existing events like active event, for example!