mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
demos(docs): ng-if to ngIf
This commit is contained in:
@ -10,7 +10,7 @@ import {IonicView, DeviceMotion} from 'ionic/ionic';
|
||||
<ion-title>Device Motion</ion-title>
|
||||
</ion-navbar>
|
||||
<ion-content padding>
|
||||
<div *ng-if="accel">{{accel.x}} {{accel.y}} {{accel.z}}</div>
|
||||
<div *ngIf="accel">{{accel.x}} {{accel.y}} {{accel.z}}</div>
|
||||
</ion-content>
|
||||
`
|
||||
})
|
||||
|
Reference in New Issue
Block a user