diff --git a/components/card/demo/loading.ts b/components/card/demo/loading.ts index 26fe7bc138b..b3b994ce87b 100644 --- a/components/card/demo/loading.ts +++ b/components/card/demo/loading.ts @@ -3,10 +3,15 @@ import { Component } from '@angular/core'; @Component({ selector: 'nz-demo-card-loading', template: ` - + Whatever content + ` }) export class NzDemoCardLoadingComponent { + loading = true; + toggleLoading(): void { + this.loading = !this.loading; + } } diff --git a/components/card/nz-card-loading.component.html b/components/card/nz-card-loading.component.html index ba824ce2c52..68ac6bd41a2 100644 --- a/components/card/nz-card-loading.component.html +++ b/components/card/nz-card-loading.component.html @@ -1,13 +1,53 @@ -

-

- -

-

- -

-

- -

-

- -

\ No newline at end of file +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file diff --git a/site_scripts/_site/src/app/share/nz-codebox/nz-codebox.component.ts b/site_scripts/_site/src/app/share/nz-codebox/nz-codebox.component.ts index 2732e4baef7..0461ce9e6ad 100644 --- a/site_scripts/_site/src/app/share/nz-codebox/nz-codebox.component.ts +++ b/site_scripts/_site/src/app/share/nz-codebox/nz-codebox.component.ts @@ -393,7 +393,7 @@ export class AppModule { } '@angular/router' : '^6.0.0', '@angular/animations' : '^6.0.0', 'date-fns' : '^1.29.0', - 'ng-zorro-antd' : '1.0.0' + 'ng-zorro-antd' : '^1.0.0' }, tags : [ 'stackblitz', 'sdk' ] });