demos(docs): ng-if to ngIf

This commit is contained in:
Drew Rygh
2016-01-07 10:05:01 -06:00
parent 959025fee1
commit c695591fed
6 changed files with 10 additions and 10 deletions

View File

@ -7,7 +7,7 @@
<button (click)="showBlur=true" primary>Blur</button>
<div ion-blur (click)="showBlur=false" *ng-if="showBlur" style="display: flex; justify-content: center; align-items: center; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(255,255,255,0.8);">
<div ion-blur (click)="showBlur=false" *ngIf="showBlur" style="display: flex; justify-content: center; align-items: center; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(255,255,255,0.8);">
<h2>Blurred!</h2>
</div>
</ion-content>