UNPKG

@sandlada/mdc

Version:

@sandlada/mdc is an open source component library that follows the Material Design 3 design specifications.

26 lines 933 B
import { BaseOnThisPage } from './internal/base-on-this-page'; declare global { interface HTMLElementTagNameMap { 'mdc-on-this-page': OnThisPage; } } /** * @element mdc-on-this-page * * An in-page table of contents / outline navigation that tracks scroll position, * highlights active sections, and animates a pill outline indicator. * * @slot caption - Custom caption text/element above the title (defaults to "On this page"). * @slot headline - Custom headline/title text/element. * @slot - One or more `mdc-on-this-page-item` elements. * * @fires change - Fires when the active item changes. * * @csspart caption - The caption text element. * @csspart headline - The headline title element. * @csspart indicator - The animated outline pill indicator. */ export declare class OnThisPage extends BaseOnThisPage { static styles: import("lit").CSSResult; } //# sourceMappingURL=on-this-page.d.ts.map