最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

block editor - Looking for a javascript callback action to re-initiate a custom slideshow in gutenberg

programmeradmin1浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论