@empathyco/x-components
Version:
Empathy X Components
30 lines (24 loc) • 1.09 kB
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<import("vue").ExtractPropTypes<{
appear: {
type: BooleanConstructor;
default: boolean;
};
}>, {
expand: (element: HTMLElement) => void;
cleanUpAnimationStyles: (element: HTMLElement) => void;
collapse: (element: HTMLElement) => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
appear: {
type: BooleanConstructor;
default: boolean;
};
}>> & Readonly<{}>, {
appear: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>
```