UNPKG

@empathyco/x-components

Version:
30 lines (24 loc) 1.09 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [CollapseWidth](./x-components.collapsewidth.md) ## CollapseWidth variable Renders a transition wrapping the element passed in the default slot and animating it with a width 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> ```