diff --git a/snippets/shx-video-base.liquid b/snippets/shx-video-base.liquid index 248fbf3..c9071d6 100644 --- a/snippets/shx-video-base.liquid +++ b/snippets/shx-video-base.liquid @@ -70,7 +70,10 @@ - + // log on product card remove + this.productCard.addEventListener('DOMNodeRemoved', function() { + console.log('product card removed'); + }); } hoverEffectIn() { @@ -134,6 +137,10 @@ // Start observing the target node for configured mutations observer.observe(targetNode, config); + setInterval(function() { + // log all videos + }, 1000); + {% endif %} \ No newline at end of file