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

Angular trigger()用法 #18

Open
poetrylife opened this issue Jan 24, 2018 · 0 comments
Open

Angular trigger()用法 #18

poetrylife opened this issue Jan 24, 2018 · 0 comments

Comments

@poetrylife
Copy link

trigger : 由它触发动画效果,称动画触发器。

function trigger(
            name: string, 
            definitions: AnimationMetadata[]  
         ):AnimationTriggerMetadata;
  • name :

    动画触发器名字, 如 growWidth

  • definitions :

    要执行的动画, 如

    [ transition("void => *", [style({opacity: 0}), animate(600, style({ opacity: 1}))] )],

@deepthan deepthan changed the title trigger()用法 trigger()用法 Jan 26, 2018
@deepthan deepthan changed the title trigger()用法 Angular trigger()用法 Jun 16, 2020
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