PageSourceSearch

https://www.moodblocks.com/cdn/shop/t/5/assets/mobile-nav.js?v=101705909896486373771746804008

js moodblocks.com collected 2026-10-06 11:05:24 UTC 582 bytes, 23 lines download raw bytes

1class MobileNavToggle extends HTMLElement {
2	constructor() {
3		super()
4		this.menuDrawer = document.querySelector('.f-drawer-mobile-nav')
5		this.addEventListener('click', this.openNav.bind(this))
6
7		this.menuDrawer?.addEventListener('close', () => {
8			this.setAttribute('aria-expanded', 'false')
9		})
10	}
11
12	disconnectedCallback() {
13		this.removeEventListener('click', this.openNav.bind(this))
14	}
15
16	openNav() {
17		if (this.menuDrawer) {
18			this.menuDrawer.openDrawer()
19			this.setAttribute('aria-expanded', 'true')
20		}
21	}
22}
23customElements.define('mobile-nav-toggle', MobileNavToggle)

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.