UNPKG

neotoc

Version:

Ultra-smooth table of contents UI generator for your docs and blogs.

16 lines (14 loc) 501 B
interface Options { io: string; to?: HTMLElement; title?: string; fillAnchor?: (heading: HTMLHeadingElement) => string | Node; ellipsis?: boolean; classPrefix?: string; initialFoldLevel?: number; offsetTop?: number; offsetBottom?: number; autoScrollOffset?: number; } declare function neotoc({ io, to, title, fillAnchor, ellipsis, classPrefix, initialFoldLevel, offsetTop, offsetBottom, autoScrollOffset, }: Options): () => void; export { neotoc as default };