1import {Controller} from '@hotwired/stimulus'; 2import {useIntersection} from 'stimulus-use' 3import svgPanZoom from 'svg-pan-zoom'; 4 5/* stimulusFetch: 'lazy' */ 6export default class extends Controller { 7 connect() { 8 useIntersection(this); 9 } 10 11 appear() { 12 const elem = this.element; 13 elem.addEventListener('load', function(){ 14 // Will get called after embed element was loaded 15 svgPanZoom(elem, {controlIconsEnabled: true}); 16 }) 17 svgPanZoom(elem, {controlIconsEnabled: true}); 18 } 19}
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.