问题描述
我正在制作动画以在Angular中进行布线。如何在此slideDown中将退出页面置于进入页面上方?
import { transition,trigger,query,style,animate,group,animateChild,keyframes } from '@angular/animations';
export const slideInAnimation =
trigger('routeAnimations',[
transition(`refund => Home`,[
query(`:enter,:leave`,style({ position: `fixed`,height: `100%` }),{ optional: true }),group([
query(`:enter`,[
style({ }),animate(`1s ease-in-out`,style({ }))
],query(`:leave`,[
style({ transform: `translateY(0%)` }),style({ transform: `translateY(100%)` }))
],])
]),transition...
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)