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

  • 關於本站
  • 免責聲明