feat: add a bunch of new Nebular demos (#1911)

This commit is contained in:
Denis Strigo 2018-11-19 16:57:35 +02:00 committed by GitHub
parent c594a5a4c5
commit 3f1f4c558b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
185 changed files with 5176 additions and 422 deletions

View file

@ -0,0 +1,17 @@
import { Component } from '@angular/core';
@Component({
selector: 'ngx-spinner',
templateUrl: 'spinner.component.html',
styleUrls: ['spinner.component.scss'],
})
export class SpinnerComponent {
loading = false;
toggleLoadingAnimation() {
this.loading = true;
setTimeout(() => this.loading = false, 3000);
}
}