Skip to content

Commit

Permalink
Step 3: Chose a Animation and prepare it
Browse files Browse the repository at this point in the history
  • Loading branch information
Can Kattw committed Oct 7, 2016
1 parent e858635 commit 97c18f7
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
@@ -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!';
Expand Down

0 comments on commit 97c18f7

Please sign in to comment.