UNPKG

ng-zorro-antd-yj

Version:

An enterprise-class UI components based on Ant Design and Angular

34 lines 3.39 kB
/** * @fileoverview added by tsickle * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc */ import { animate, style, transition, trigger } from '@angular/animations'; import { AnimationDuration } from './animation'; /** @type {?} */ export const moveUpMotion = trigger('moveUpMotion', [ transition('* => enter', [ style({ transformOrigin: '0 0', transform: 'translateY(-100%)', opacity: 0 }), animate(`${AnimationDuration.BASE}`, style({ transformOrigin: '0 0', transform: 'translateY(0%)', opacity: 1 })) ]), transition('* => leave', [ style({ transformOrigin: '0 0', transform: 'translateY(0%)', opacity: 1 }), animate(`${AnimationDuration.BASE}`, style({ transformOrigin: '0 0', transform: 'translateY(-100%)', opacity: 0 })) ]) ]); //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW92ZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25nLXpvcnJvLWFudGQteWovIiwic291cmNlcyI6WyJjb3JlL2FuaW1hdGlvbi9tb3ZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsT0FBTyxFQUFFLEtBQUssRUFBRSxVQUFVLEVBQUUsT0FBTyxFQUE0QixNQUFNLHFCQUFxQixDQUFDO0FBQ3BHLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGFBQWEsQ0FBQzs7QUFFaEQsTUFBTSxPQUFPLFlBQVksR0FBNkIsT0FBTyxDQUFDLGNBQWMsRUFBRTtJQUM1RSxVQUFVLENBQUMsWUFBWSxFQUFFO1FBQ3ZCLEtBQUssQ0FBQztZQUNKLGVBQWUsRUFBRSxLQUFLO1lBQ3RCLFNBQVMsRUFBRSxtQkFBbUI7WUFDOUIsT0FBTyxFQUFFLENBQUM7U0FDWCxDQUFDO1FBQ0YsT0FBTyxDQUNMLEdBQUcsaUJBQWlCLENBQUMsSUFBS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