I'm using the new Gutenberg Blocks in ACF to build a custom slider, but I need a way to re-initiate BXSlider(the library I'm using for the slider) after every change made on the block. I'm looking in the documentation for what the gutenberg block callback function is after every change/update, but cannot find it.
I'm using the new Gutenberg Blocks in ACF to build a custom slider, but I need a way to re-initiate BXSlider(the library I'm using for the slider) after every change made on the block. I'm looking in the documentation for what the gutenberg block callback function is after every change/update, but cannot find it.
Share Improve this question asked May 14, 2019 at 17:17 BenlovBenlov 215 bronze badges1 Answer
Reset to default 0I found the solution. I can include a javascript with callback function for each block in the ACF documentation.