Webflow.require('ix2').init(); to reapply Webflow interactions after dynamically updating or injecting content. Webflow.require('ix2').destroy(); before init() when replacing or removing elements to clean up interactions.In Webflow IX2 (Interactions 2.0), the legacy Webflow.ready() and Webflow.destroy() methods from IX1 are no longer supported, but there are alternative patterns for reinitializing interactions when content is dynamically added or updated.
Webflow.require('ix2').init() to Reinitialize IX2 Interactions
Webflow.require('ix2') allows access to Interaction 2 methods. Webflow.require('ix2').init();
Webflow.require('ix2').destroy() if Needed (Advanced)
Webflow.require('ix2').destroy();
to clean up IX2 before reinitializing things.
init() to re-bind interactions:Webflow.require('ix2').init();
init() function to apply interactions to new elements.After your content loads:
Webflow.require('ix2').init();
Webflow.require('ix2').init();
To reinitialize IX2 interactions, use Webflow.require('ix2').init();. If needed, use .destroy() beforehand. This pattern is essential when dynamically injecting or updating DOM content that depends on Webflow interactions.