mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
Revert "chore(package): bump dependencies and lint rules"
This reverts commit 21ad4734fa.
This commit is contained in:
@@ -1,10 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import {
|
||||
Cordova,
|
||||
CordovaProperty,
|
||||
IonicNativePlugin,
|
||||
Plugin
|
||||
} from '@ionic-native/core';
|
||||
import { Cordova, CordovaProperty, Plugin, IonicNativePlugin } from '@ionic-native/core';
|
||||
|
||||
/**
|
||||
* @name Status Bar
|
||||
@@ -47,7 +42,7 @@ export class StatusBar extends IonicNativePlugin {
|
||||
@Cordova({
|
||||
sync: true
|
||||
})
|
||||
overlaysWebView(doesOverlay: boolean) {}
|
||||
overlaysWebView(doesOverlay: boolean) { };
|
||||
|
||||
/**
|
||||
* Use the default statusbar (dark text, for light backgrounds).
|
||||
@@ -55,7 +50,7 @@ export class StatusBar extends IonicNativePlugin {
|
||||
@Cordova({
|
||||
sync: true
|
||||
})
|
||||
styleDefault() {}
|
||||
styleDefault() { };
|
||||
|
||||
/**
|
||||
* Use the lightContent statusbar (light text, for dark backgrounds).
|
||||
@@ -63,7 +58,7 @@ export class StatusBar extends IonicNativePlugin {
|
||||
@Cordova({
|
||||
sync: true
|
||||
})
|
||||
styleLightContent() {}
|
||||
styleLightContent() { };
|
||||
|
||||
/**
|
||||
* Use the blackTranslucent statusbar (light text, for dark backgrounds).
|
||||
@@ -71,7 +66,7 @@ export class StatusBar extends IonicNativePlugin {
|
||||
@Cordova({
|
||||
sync: true
|
||||
})
|
||||
styleBlackTranslucent() {}
|
||||
styleBlackTranslucent() { };
|
||||
|
||||
/**
|
||||
* Use the blackOpaque statusbar (light text, for dark backgrounds).
|
||||
@@ -79,7 +74,7 @@ export class StatusBar extends IonicNativePlugin {
|
||||
@Cordova({
|
||||
sync: true
|
||||
})
|
||||
styleBlackOpaque() {}
|
||||
styleBlackOpaque() { };
|
||||
|
||||
/**
|
||||
* Set the status bar to a specific named color. Valid options:
|
||||
@@ -92,7 +87,7 @@ export class StatusBar extends IonicNativePlugin {
|
||||
@Cordova({
|
||||
sync: true
|
||||
})
|
||||
backgroundColorByName(colorName: string) {}
|
||||
backgroundColorByName(colorName: string) { };
|
||||
|
||||
/**
|
||||
* Set the status bar to a specific hex color (CSS shorthand supported!).
|
||||
@@ -104,7 +99,7 @@ export class StatusBar extends IonicNativePlugin {
|
||||
@Cordova({
|
||||
sync: true
|
||||
})
|
||||
backgroundColorByHexString(hexString: string) {}
|
||||
backgroundColorByHexString(hexString: string) { };
|
||||
|
||||
/**
|
||||
* Hide the StatusBar
|
||||
@@ -112,18 +107,20 @@ export class StatusBar extends IonicNativePlugin {
|
||||
@Cordova({
|
||||
sync: true
|
||||
})
|
||||
hide() {}
|
||||
hide() { };
|
||||
|
||||
/**
|
||||
* Show the StatusBar
|
||||
*/
|
||||
* Show the StatusBar
|
||||
*/
|
||||
@Cordova({
|
||||
sync: true
|
||||
})
|
||||
show() {}
|
||||
show() { };
|
||||
|
||||
/**
|
||||
* Whether the StatusBar is currently visible or not.
|
||||
*/
|
||||
@CordovaProperty isVisible: boolean;
|
||||
@CordovaProperty
|
||||
isVisible: boolean;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user