Support

Account

Home Forums Feature Requests JS hooks – a reference to DOM node of the rendered item in the callback function Reply To: JS hooks – a reference to DOM node of the rendered item in the callback function

  • So you see my point 🙂

    There’s a lot of DOM traversing in your code. But the issue is not only related to the lack of data in the ACF callbacks but also to the way how ACF JS code is designed – it relies strongly on DOM.

    It would be great if ACF code relied on a data model instead of DOM. But it would require a strong ACF core refactoring. I wish Backbone models and collections were used.