mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 05:21:52 +08:00
demos(docs): ng-if to ngIf
This commit is contained in:
@ -12,7 +12,7 @@ import {IonicView, Device} from 'ionic/ionic';
|
||||
<ion-content padding>
|
||||
<h2>Device</h2>
|
||||
<button primary outline (click)="doDevice()">Get Device</button>
|
||||
<div *ng-if="device">
|
||||
<div *ngIf="device">
|
||||
Device name: {{device.name}}
|
||||
</div>
|
||||
</ion-content>
|
||||
|
Reference in New Issue
Block a user