1import '@archetype-themes/scripts/modules/photoswipe' 2 3class ProductImages extends HTMLElement { 4 constructor() { 5 super(); 6 this.sectionId = this.closest('[data-section-id]').dataset.sectionId; 7 this.initImageZoom(); 8 } 9 10 initImageZoom() { 11 this.photoswipe = new theme.Photoswipe(this, this.sectionId); 12 } 13} 14 15customElements.define('product-images', ProductImages);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.