UNPKG

@ribajs/bs5

Version:

Bootstrap 5 module for Riba.js

22 lines (21 loc) 703 B
import { Bs5ContentsComponent, Scope as Bs5ContentsComponentScope } from "../bs5-contents/bs5-contents.component.js"; export interface Anchor { element: HTMLHeadingElement; href: string; title: string; childs: Anchor[]; } export interface Scope extends Bs5ContentsComponentScope { offset: number; offsetBottom: number; } export declare class Bs5ScrollspyComponent extends Bs5ContentsComponent { static tagName: string; protected autobind: boolean; static get observedAttributes(): string[]; scope: Scope; constructor(); protected connectedCallback(): void; protected requiredAttributes(): string[]; protected template(): Promise<string | null>; }