/** * Initialise skip link component * * @deprecated Use {@link createAll | `createAll(SkipLink, options)`} instead. * @param {InitOptions & Partial} [options] */ export function initSkipLinks(options?: InitOptions & Partial): void; /** * Skip link component * * When using VoiceOver on iOS, focus remains on the skip link anchor * when selected so the next focusable element is not at the jumped to area. * * @augments {ConfigurableComponent} */ export class SkipLink extends ConfigurableComponent { static elementType: { new (): HTMLAnchorElement; prototype: HTMLAnchorElement; }; /** * Skip link default config * * @see {@link SkipLinkConfig} * @constant * @type {SkipLinkConfig} */ static defaults: SkipLinkConfig; /** * Skip link config schema * * @constant * @satisfies {Schema} */ static schema: Readonly<{ properties: { focusedElementClassList: { type: "array"; }; }; }>; /** * @param {Element | null} $root - HTML element to use for component * @param {Partial} [config] - Skip link config */ constructor($root: Element | null, config?: Partial); } /** * Skip link config */ export type SkipLinkConfig = { /** * - Focused element class list */ focusedElementClassList: string[]; }; import type { InitOptions } from '../../index.mjs'; import { ConfigurableComponent } from '../../configurable-component.mjs'; //# sourceMappingURL=skip-link.d.mts.map