Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AnimationOptions()用法 #28

Open
deepthan opened this issue Jan 26, 2018 · 0 comments
Open

AnimationOptions()用法 #28

deepthan opened this issue Jan 26, 2018 · 0 comments

Comments

@deepthan
Copy link
Owner

AnimationOptions :动画的可选项

import { AnimationOptions } from '@angular/animations';
interface AnimationOptions { 
  delay?: number|string
  params?: {[name: string]: any}
}
  • delay: number|string
    动画的延迟值。
  • params
    在启动动画时传入参数,以更改样式。
以下动画函数可配置 AnimationOptions:
  • transition()
  • sequence()
  • group()
  • query()
  • animation()
  • useAnimation()
  • animateChild()
  • 使用AnimationBuilder服务构建的动画
子接口
  • AnimateChildOptions
  • AnimationQueryOptions
@deepthan deepthan changed the title AnimationOptions()用法 AnimationOptions()用法 Jan 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant