How can i rerender Pinterest's Pin It button?

前端 未结 13 2167
暖寄归人
暖寄归人 2021-01-30 18:14

I\'m trying to create and manipulate the Pin It button after page load. When i change the button properties with js, it should be rerendered to get the functionality of pinning

13条回答
  •  悲&欢浪女
    2021-01-30 18:29

    As of June 2020, Pinterest updated the pin js code to v2. That's why data-pin-build might not work on

    Now it works on pinit_v2.js

提交回复
热议问题