Merge pull request #132 from Rybbow/master

Correct battery-status "status" event name
This commit is contained in:
Ibrahim Hadeed 2016-04-24 09:07:30 -04:00
commit 97026397bb

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
}
}