mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-20 06:58:08 +01:00
feat: add a bunch of new Nebular demos (#1911)
This commit is contained in:
parent
c594a5a4c5
commit
3f1f4c558b
185 changed files with 5176 additions and 422 deletions
17
src/app/pages/extra-components/spinner/spinner.component.ts
Normal file
17
src/app/pages/extra-components/spinner/spinner.component.ts
Normal 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);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue