Skip to content

Commit

Permalink
fix(examples): add element error template
Browse files Browse the repository at this point in the history
  • Loading branch information
tomastrajan committed Oct 17, 2019
1 parent 8eb4b70 commit 7fe893f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ <h1 class="main-heading">
</div>
<div class="row" [ngClass]="routeAnimationsElements" rtl>
<div class="col-md-12 col-lg-6">
<ng-template #error>Loading of element failed...</ng-template>
<ng-template #loading>Loading...</ng-template>
<mwc-button raised *axLazyElement="'https://unpkg.com/@material/mwc-button@0.6.0/mwc-button.js?module'; loadingTemplate: loading; module: true"
<mwc-button raised
*axLazyElement="'https://unpkg.com/@material/mwc-button@0.6.0/mwc-button.js?module'; loadingTemplate: loading; errorTemplate: error; module: true"
(click)="increment()">
Increment
</mwc-button>
Expand Down

0 comments on commit 7fe893f

Please sign in to comment.