mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +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({
|
@Cordova({
|
||||||
eventObservable: true,
|
eventObservable: true,
|
||||||
event: 'batterylevel'
|
event: 'batterystatus'
|
||||||
})
|
})
|
||||||
static onChange () : Observable<StatusObject> {return}
|
static onChange () : Observable<StatusObject> {return}
|
||||||
|
|
||||||
@ -73,4 +73,4 @@ export interface StatusObject {
|
|||||||
* A boolean that indicates whether the device is plugged in
|
* A boolean that indicates whether the device is plugged in
|
||||||
*/
|
*/
|
||||||
isPlugged : boolean
|
isPlugged : boolean
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user