Correct battery-status "status" event name

This commit is contained in:
mrybnik 2016-04-19 01:03:43 +02:00
parent 3894cb427d
commit 923e384e43

View File

@ -37,7 +37,7 @@ export class BatteryStatus {
*/
@Cordova({
eventObservable: true,
event: 'batterylevel'
event: 'batterystatus'
})
static onChange () : Observable<StatusObject> {return}
@ -73,4 +73,4 @@ export interface StatusObject {
* A boolean that indicates whether the device is plugged in
*/
isPlugged : boolean
}
}