PageSourceSearch

https://www.colorfulblack.com/cdn/shop/t/71/assets/view-event-elements.js?v=34258756885466567141790156308

js colorfulblack.com collected 2026-09-24 11:43:04 UTC 518 bytes, 16 lines download raw bytes

1import { createViewEventElement } from '@shopify/events';
2import { Component } from '@theme/component';
3
4export const ProductComponent = createViewEventElement(Component, {
5  defaultTrigger: 'intersect',
6});
7
8if (!customElements.get('product-component')) {
9  customElements.define('product-component', ProductComponent);
10}
11
12export const CollectionComponent = createViewEventElement(Component);
13
14if (!customElements.get('collection-component')) {
15  customElements.define('collection-component', CollectionComponent);
16}

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.