1var tobi = new Tobi({ 2 selector: '.lightbox', 3 captions: true, 4 captionsSelector: 'img', 5 captionAttribute: 'alt', 6 nav: 'auto', 7 navText: ['<svg role="img" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24"><polyline points="14 18 8 12 14 6 14 6"></polyline></svg>', '<svg role="img" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24"><polyline points="10 6 16 12 10 18 10 18"></polyline></svg>'], 8 navLabel: ['Previous', 'Next'], 9 close: true, 10 closeText: '<svg role="img" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewbox="0 0 24 24"><path d="M6.34314575 6.34314575L17.6568542 17.6568542M6.34314575 17.6568542L17.6568542 6.34314575"></path></svg>', 11 closeLabel: 'Close', 12 loadingIndicatorLabel: 'Image loading', 13 counter: true, 14 download: false, // TODO 15 downloadText: '', // TODO 16 downloadLabel: 'Download', // TODO 17 keyboard: true, 18 zoom: true, 19 zoomText: '<svg role="img" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><polyline points="21 16 21 21 16 21"/><polyline points="8 21 3 21 3 16"/><polyline points="16 3 21 3 21 8"/><polyline points="3 8 3 3 8 3"/></svg>', 20 docClose: true, 21 swipeClose: true, 22 hideScrollbar: true, 23 draggable: true, 24 threshold: 100, 25 rtl: false, // TODO 26 loop: false, // TODO 27 autoplayVideo: false, 28 theme: 'dark' 29})
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.