mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-04-13 00:00:10 +08:00
Merge branch 'master' into v5
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Cordova, CordovaProperty, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||
import {
|
||||
Cordova,
|
||||
CordovaProperty,
|
||||
IonicNativePlugin,
|
||||
Plugin
|
||||
} from '@ionic-native/core';
|
||||
|
||||
/**
|
||||
* @name Status Bar
|
||||
@@ -48,8 +53,7 @@ export class StatusBar extends IonicNativePlugin {
|
||||
@Cordova({
|
||||
sync: true
|
||||
})
|
||||
overlaysWebView(doesOverlay: boolean) {
|
||||
}
|
||||
overlaysWebView(doesOverlay: boolean) {}
|
||||
|
||||
/**
|
||||
* Use the default statusbar (dark text, for light backgrounds).
|
||||
@@ -57,8 +61,7 @@ export class StatusBar extends IonicNativePlugin {
|
||||
@Cordova({
|
||||
sync: true
|
||||
})
|
||||
styleDefault() {
|
||||
}
|
||||
styleDefault() {}
|
||||
|
||||
/**
|
||||
* Use the lightContent statusbar (light text, for dark backgrounds).
|
||||
@@ -66,8 +69,7 @@ export class StatusBar extends IonicNativePlugin {
|
||||
@Cordova({
|
||||
sync: true
|
||||
})
|
||||
styleLightContent() {
|
||||
}
|
||||
styleLightContent() {}
|
||||
|
||||
/**
|
||||
* Use the blackTranslucent statusbar (light text, for dark backgrounds).
|
||||
@@ -75,8 +77,7 @@ export class StatusBar extends IonicNativePlugin {
|
||||
@Cordova({
|
||||
sync: true
|
||||
})
|
||||
styleBlackTranslucent() {
|
||||
}
|
||||
styleBlackTranslucent() {}
|
||||
|
||||
/**
|
||||
* Use the blackOpaque statusbar (light text, for dark backgrounds).
|
||||
@@ -84,8 +85,7 @@ export class StatusBar extends IonicNativePlugin {
|
||||
@Cordova({
|
||||
sync: true
|
||||
})
|
||||
styleBlackOpaque() {
|
||||
}
|
||||
styleBlackOpaque() {}
|
||||
|
||||
/**
|
||||
* Set the status bar to a specific named color. Valid options:
|
||||
@@ -98,8 +98,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!).
|
||||
@@ -111,8 +110,7 @@ export class StatusBar extends IonicNativePlugin {
|
||||
@Cordova({
|
||||
sync: true
|
||||
})
|
||||
backgroundColorByHexString(hexString: string) {
|
||||
}
|
||||
backgroundColorByHexString(hexString: string) {}
|
||||
|
||||
/**
|
||||
* Hide the StatusBar
|
||||
@@ -120,8 +118,7 @@ export class StatusBar extends IonicNativePlugin {
|
||||
@Cordova({
|
||||
sync: true
|
||||
})
|
||||
hide() {
|
||||
}
|
||||
hide() {}
|
||||
|
||||
/**
|
||||
* Show the StatusBar
|
||||
@@ -129,7 +126,5 @@ export class StatusBar extends IonicNativePlugin {
|
||||
@Cordova({
|
||||
sync: true
|
||||
})
|
||||
show() {
|
||||
}
|
||||
|
||||
show() {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user