UNPKG

@reaktly-js/tone-accessibility

Version:

A vanilla JS Accessability Widget compliant with ADA and WCAG 2.2.

26 lines (25 loc) 750 B
/** * @class LineHeightAdjuster * @extends HTMLElement * @description A custom element providing a clickable card to cycle through global * line height settings. It applies a data attribute to the <html> element. * It reuses the <tone-card> and <tone-card-content> design. */ export declare class LineHeightAdjuster extends HTMLElement { private shadow; private currentModeIndex; private toneCard; private toneCardContent; constructor(); connectedCallback(): void; disconnectedCallback(): void; private attachListeners; private removeListeners; private handleClick; private applyMode; private loadState; private saveState; private handleReset; private updateUI; private render; }