mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-04-13 00:00:10 +08:00
refactor(lib): run prettier
This commit is contained in:
@@ -45,7 +45,7 @@ export interface BatteryStatusResponse {
|
||||
plugin: 'cordova-plugin-battery-status',
|
||||
pluginRef: 'navigator.battery',
|
||||
repo: 'https://github.com/apache/cordova-plugin-battery-status',
|
||||
platforms: ['iOS', 'Android', 'Windows', 'Browser']
|
||||
platforms: ['iOS', 'Android', 'Windows', 'Browser'],
|
||||
})
|
||||
@Injectable()
|
||||
export class BatteryStatus extends IonicNativePlugin {
|
||||
@@ -55,7 +55,7 @@ export class BatteryStatus extends IonicNativePlugin {
|
||||
*/
|
||||
@Cordova({
|
||||
eventObservable: true,
|
||||
event: 'batterystatus'
|
||||
event: 'batterystatus',
|
||||
})
|
||||
onChange(): Observable<BatteryStatusResponse> {
|
||||
return;
|
||||
@@ -67,7 +67,7 @@ export class BatteryStatus extends IonicNativePlugin {
|
||||
*/
|
||||
@Cordova({
|
||||
eventObservable: true,
|
||||
event: 'batterylow'
|
||||
event: 'batterylow',
|
||||
})
|
||||
onLow(): Observable<BatteryStatusResponse> {
|
||||
return;
|
||||
@@ -79,7 +79,7 @@ export class BatteryStatus extends IonicNativePlugin {
|
||||
*/
|
||||
@Cordova({
|
||||
eventObservable: true,
|
||||
event: 'batterycritical'
|
||||
event: 'batterycritical',
|
||||
})
|
||||
onCritical(): Observable<BatteryStatusResponse> {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user