PageSourceSearch

https://medibiotix.de/cdn/shop/t/8/assets/mobile-nav.js?v=157610441449757104731770900290

js medibiotix.de collected 2026-10-09 23:27:13 UTC 613 bytes, 25 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		if (this.menuDrawer) {
8			this.menuDrawer.addEventListener('close', () => {
9				this.setAttribute('aria-expanded', 'false')
10			})
11		}
12	}
13
14	disconnectedCallback() {
15		this.removeEventListener('click', this.openNav.bind(this))
16	}
17
18	openNav() {
19		if (this.menuDrawer) {
20			this.menuDrawer.openDrawer()
21			this.setAttribute('aria-expanded', 'true')
22		}
23	}
24}
25customElements.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.