1import { HTMLThemeElement } from '@archetype-themes/custom-elements/theme-element' 2 3class AdvancedAccordion extends HTMLThemeElement { 4 constructor() { 5 super() 6 this.accordion = this.querySelector('.advanced-accordion') 7 } 8 9 onSectionLoad() { 10 this.accordion.setAttribute('open', '') 11 } 12 13 onBlockSelect() { 14 this.accordion.setAttribute('open', '') 15 } 16} 17 18customElements.define('advanced-accordion', AdvancedAccordion)
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.