diff --git a/src/app/app.component.ts b/src/app/app.component.ts index d4e66cb..941353b 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -1,9 +1,16 @@ -import { Component } from '@angular/core'; +import {Component, trigger, keyframes, animate, transition} from '@angular/core'; @Component({ selector: 'app-root', templateUrl: './app.component.html', - styleUrls: ['./app.component.scss'] + styleUrls: ['./app.component.scss'], + animations: [ + trigger('wobble', [ + transition('inactive => active', animate(1000, keyframes([ + ]))), + ]) + ] + }) export class AppComponent { title = 'app works!';