UNPKG

@ngverse/motion

Version:

<p align="center"> <img src="https://github.com/ngverse/motion/blob/main/apps/docs/public/logo.png?raw=true" alt="Logo" width="200px" /> </p> `@ngverse/motion` is an Angular animations library, see more info on [link](https://motion.ngverse.dev)

23 lines (22 loc) 847 B
import { MotionOptions } from '@ngverse/motion/core'; interface collapseMotionOptions extends MotionOptions { /** * The ending height of the element */ endHeight: string; } /** * collapse animation */ export declare const collapse: (options?: Partial<collapseMotionOptions> | undefined) => import("@angular/animations").AnimationAnimateRefMetadata; /** * collapse animation on :leave * @remarks triggerName: `collapseOnLeave` */ export declare const collapseOnLeave: (options?: Partial<collapseMotionOptions> | undefined) => import("@angular/animations").AnimationTriggerMetadata; /** * collapse animation on :decr * @remarks triggerName: `collapseOnDecr` */ export declare const collapseOnDecr: (options?: Partial<collapseMotionOptions> | undefined) => import("@angular/animations").AnimationTriggerMetadata; export {};