logo
  • 教程列表
  • SO官方文档
  • 动画
    • 空状态之间的转换
    • 多个状态之间的动画
  1. StackOverflow 文档
  2. Angular 2 教程
  3. 动画
  4. 空状态之间的转换

空状态之间的转换

Created: November-22, 2018

    @Component({
        ...
        animations: [
            trigger('appear', [
                transition(':enter', [
                    style({
                      //style applied at the start of animation
                    }),
                animate('300ms ease-in', style({
                    //style applied at the end of animation
                }))
                ])
            ])
        ]
    })
    class AnimComponent {

    }
]
  • 多个状态之间的动画
  • 动画

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 关于我们
  • 免责声明