/** * Navigation megamenu component. * * @augments IvComponent */ export class Megamenu extends IvComponent { /** @type {Readonly} */ static defaults: Readonly; /** * Returns the megamenu instance attached to `el`, if any. * * @param {Element} el Host element. * @returns {Megamenu|undefined} The instance or `undefined`. */ static get(el: Element): Megamenu | undefined; /** * Returns the existing instance or creates one. * * @param {Element} el Host element. * @param {Partial} [options] Options passed in JavaScript. * @returns {Megamenu} The instance. */ static getOrCreate(el: Element, options?: Partial): Megamenu; /** * Instantiates every `[data-iv-component="megamenu"]` inside `root`. * * @param {ParentNode} [root] Subtree to scan. * @returns {Megamenu[]} Newly created instances. */ static initAll(root?: ParentNode): Megamenu[]; /** * @param {Element} el A `