vira
Version:
A simple and highly versatile design system using element-vir.
17 lines (16 loc) • 726 B
TypeScript
/**
* A wrapper element that can collapse and expand to fit its content dynamically and efficiently.
*
* @category Collapsible
* @category Elements
* @see https://electrovir.github.io/vira/book/elements/vira-collapsible-wrapper
*/
export declare const ViraCollapsibleWrapper: import("element-vir").DeclarativeElementDefinition<`vira-${string}`, {
expanded: boolean;
/** When true, forces the content to expand when printing regardless of collapsed state. */
expandOnPrint?: boolean;
}, {
contentHeight: number;
}, {
expandChange: import("element-vir").DefineEvent<boolean>;
}, "vira-collapsible-wrapper-expand-on-print", `vira-${string}-`, readonly ["vira-collapsible-wrapper-header"], readonly []>;