This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Component({ | |
selector: '[wmAnimate]', | |
template: '<ng-content></ng-content>', | |
animations: $animations | |
}) | |
export class AnimateComponent implements OnInit, OnDestroy { | |
readonly timings = { slower: '3s', slow: '2s', normal: '1s', fast: '500ms', faster: '300ms' }; | |
constructor(private elm: ElementRef, private scroll: ScrollDispatcher, private zone: NgZone) {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section fxLayout="row" fxLayoutAlign="center center"> | |
<div fxFlex="50" wmAnimate="landing" speed="slow" aos> | |
<h1 class="mat-display-1"><b>Get your app done right</b></h1> | |
<p>Wizdm provides wonders to your singple page application</p> | |
<button mat-raised-button color="accent" routerLink="/">Get started</button> |