DOM 加载后执行 js

What function does your button need to have? You should be able to use a plugin outlet:

Check out this section in @Johani’s awesome guide for more on how to make use of them. Depending on the complexity of your button, you may need to use a widget.

6 个赞