admin管理员组

文章数量:1430532

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 badges
Add a comment  | 

1 Answer 1

Reset to default 0

I found the solution. I can include a javascript with callback function for each block in the ACF documentation.

本文标签: block editorLooking for a javascript callback action to reinitiate a custom slideshow in gutenberg