@empathyco/x-components
Version:
Empathy X Components
30 lines (24 loc) • 980 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [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;
}, {}>
```