How to append data-mage-init in html – Magento
I have append the html content in particular div. styleBasedProducts += "<div class='row image-full'><div class='col-md-12 home-title text-center'><div><span class='light'>Style Based</span><span class='heavier'> Products</span></div><p aria-hidden='true'></p></div></div>"; And also init the custom js in this '.image-full' div. How to do this?