UNPKG

@empathyco/x-components

Version:
30 lines (24 loc) 980 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [CollapseHeight](./x-components.collapseheight.md) ## CollapseHeight variable Renders a transition wrapping the element passed in the default slot and animating it with a height animation. **Signature:** ```typescript _default: import("vue").DefineComponent<{ appear: { type: BooleanConstructor; default: boolean; }; }, { expand: (element: HTMLElement) => void; cleanUpAnimationStyles: (element: HTMLElement) => void; collapse: (element: HTMLElement) => void; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ appear: { type: BooleanConstructor; default: boolean; }; }>>, { appear: boolean; }, {}> ```