build: adding basic e2e testing infrastructure
This commit is contained in:
13
modules/playground/src/animate/app/animate-app.ts
Normal file
13
modules/playground/src/animate/app/animate-app.ts
Normal file
@ -0,0 +1,13 @@
|
||||
import {Component} from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'animate-app',
|
||||
template: `
|
||||
<h1>The box is {{visible ? 'visible' : 'hidden'}}</h1>
|
||||
<div class="ng-animate box" *ngIf="visible"></div>
|
||||
<button (click)="visible = !visible">Animate</button>
|
||||
`
|
||||
})
|
||||
export class AnimateApp {
|
||||
visible: boolean = false;
|
||||
}
|
Reference in New Issue
Block a user