mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 16:52:53 +08:00
Merge pull request #132 from Rybbow/master
Correct battery-status "status" event name
This commit is contained in:
commit
97026397bb
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user