UNPKG

element-book

Version:

An [`element-vir`](https://npmjs.com/package/element-vir) drop-in element for building, testing, and demonstrating a collection of elements (or, in other words, a design system).

18 lines (17 loc) 1.02 kB
import { type BookPageControl, type BookPageControlsValues } from '../../../../data/book-entry/book-page/book-page-controls.js'; import { type BookPage } from '../../../../data/book-entry/book-page/book-page.js'; export declare const BookPageControls: import("element-vir").DeclarativeElementDefinition<"book-page-controls", { config: BookPage["controls"]; /** * If an object (or Record) is given for this input, then each key of the object must correspond * to one of the controls from the input config and the value for each key will be the * breadcrumbs for that specific config. */ fullUrlBreadcrumbs: ReadonlyArray<string> | Record<string, ReadonlyArray<string>>; currentValues: Record<string, BookPageControl["initValue"]>; }, {}, { controlValueChange: import("element-vir").DefineEvent<{ fullUrlBreadcrumbs: ReadonlyArray<string>; newValues: BookPageControlsValues; }>; }, "book-page-controls-has-controls", "book-page-controls-", readonly [], readonly []>;