@ionic-native/status-bar
Advanced tools
Comparing version 4.4.0 to 4.4.2
119
index.js
@@ -56,15 +56,3 @@ var __extends = (this && this.__extends) || (function () { | ||
*/ | ||
/** | ||
* Set whether the status bar overlays the main app view. The default | ||
* is true. | ||
* | ||
* @param {boolean} doesOverlay Whether the status bar overlays the main app view. | ||
*/ | ||
StatusBar.prototype.overlaysWebView = /** | ||
* Set whether the status bar overlays the main app view. The default | ||
* is true. | ||
* | ||
* @param {boolean} doesOverlay Whether the status bar overlays the main app view. | ||
*/ | ||
function (doesOverlay) { }; | ||
StatusBar.prototype.overlaysWebView = function (doesOverlay) { }; | ||
; | ||
@@ -74,9 +62,3 @@ /** | ||
*/ | ||
/** | ||
* Use the default statusbar (dark text, for light backgrounds). | ||
*/ | ||
StatusBar.prototype.styleDefault = /** | ||
* Use the default statusbar (dark text, for light backgrounds). | ||
*/ | ||
function () { }; | ||
StatusBar.prototype.styleDefault = function () { }; | ||
; | ||
@@ -86,9 +68,3 @@ /** | ||
*/ | ||
/** | ||
* Use the lightContent statusbar (light text, for dark backgrounds). | ||
*/ | ||
StatusBar.prototype.styleLightContent = /** | ||
* Use the lightContent statusbar (light text, for dark backgrounds). | ||
*/ | ||
function () { }; | ||
StatusBar.prototype.styleLightContent = function () { }; | ||
; | ||
@@ -98,9 +74,3 @@ /** | ||
*/ | ||
/** | ||
* Use the blackTranslucent statusbar (light text, for dark backgrounds). | ||
*/ | ||
StatusBar.prototype.styleBlackTranslucent = /** | ||
* Use the blackTranslucent statusbar (light text, for dark backgrounds). | ||
*/ | ||
function () { }; | ||
StatusBar.prototype.styleBlackTranslucent = function () { }; | ||
; | ||
@@ -110,9 +80,3 @@ /** | ||
*/ | ||
/** | ||
* Use the blackOpaque statusbar (light text, for dark backgrounds). | ||
*/ | ||
StatusBar.prototype.styleBlackOpaque = /** | ||
* Use the blackOpaque statusbar (light text, for dark backgrounds). | ||
*/ | ||
function () { }; | ||
StatusBar.prototype.styleBlackOpaque = function () { }; | ||
; | ||
@@ -127,19 +91,3 @@ /** | ||
*/ | ||
/** | ||
* Set the status bar to a specific named color. Valid options: | ||
* black, darkGray, lightGray, white, gray, red, green, blue, cyan, yellow, magenta, orange, purple, brown. | ||
* | ||
* iOS note: you must call StatusBar.overlaysWebView(false) to enable color changing. | ||
* | ||
* @param {string} colorName The name of the color (from above) | ||
*/ | ||
StatusBar.prototype.backgroundColorByName = /** | ||
* Set the status bar to a specific named color. Valid options: | ||
* black, darkGray, lightGray, white, gray, red, green, blue, cyan, yellow, magenta, orange, purple, brown. | ||
* | ||
* iOS note: you must call StatusBar.overlaysWebView(false) to enable color changing. | ||
* | ||
* @param {string} colorName The name of the color (from above) | ||
*/ | ||
function (colorName) { }; | ||
StatusBar.prototype.backgroundColorByName = function (colorName) { }; | ||
; | ||
@@ -153,17 +101,3 @@ /** | ||
*/ | ||
/** | ||
* Set the status bar to a specific hex color (CSS shorthand supported!). | ||
* | ||
* iOS note: you must call StatusBar.overlaysWebView(false) to enable color changing. | ||
* | ||
* @param {string} hexString The hex value of the color. | ||
*/ | ||
StatusBar.prototype.backgroundColorByHexString = /** | ||
* Set the status bar to a specific hex color (CSS shorthand supported!). | ||
* | ||
* iOS note: you must call StatusBar.overlaysWebView(false) to enable color changing. | ||
* | ||
* @param {string} hexString The hex value of the color. | ||
*/ | ||
function (hexString) { }; | ||
StatusBar.prototype.backgroundColorByHexString = function (hexString) { }; | ||
; | ||
@@ -173,9 +107,3 @@ /** | ||
*/ | ||
/** | ||
* Hide the StatusBar | ||
*/ | ||
StatusBar.prototype.hide = /** | ||
* Hide the StatusBar | ||
*/ | ||
function () { }; | ||
StatusBar.prototype.hide = function () { }; | ||
; | ||
@@ -185,9 +113,3 @@ /** | ||
*/ | ||
/** | ||
* Show the StatusBar | ||
*/ | ||
StatusBar.prototype.show = /** | ||
* Show the StatusBar | ||
*/ | ||
function () { }; | ||
StatusBar.prototype.show = function () { }; | ||
; | ||
@@ -275,25 +197,2 @@ StatusBar.decorators = [ | ||
], StatusBar.prototype, "isVisible", void 0); | ||
/** | ||
* @name Status Bar | ||
* @description | ||
* Manage the appearance of the native status bar. | ||
* | ||
* Requires Cordova plugin: `cordova-plugin-statusbar`. For more info, please see the [StatusBar plugin docs](https://github.com/apache/cordova-plugin-statusbar). | ||
* | ||
* @usage | ||
* ```typescript | ||
* import { StatusBar } from '@ionic-native/status-bar'; | ||
* | ||
* constructor(private statusBar: StatusBar) { } | ||
* | ||
* ... | ||
* | ||
* // let status bar overlay webview | ||
* this.statusBar.overlaysWebView(true); | ||
* | ||
* // set status bar to white | ||
* this.statusBar.backgroundColorByHexString('#ffffff'); | ||
* ``` | ||
* | ||
*/ | ||
StatusBar = __decorate([ | ||
@@ -300,0 +199,0 @@ Plugin({ |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":4,"metadata":{"StatusBar":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin"},"arguments":[{"pluginName":"StatusBar","plugin":"cordova-plugin-statusbar","pluginRef":"StatusBar","repo":"https://github.com/apache/cordova-plugin-statusbar","platforms":["Android","iOS","Windows","Windows Phone"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"overlaysWebView":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"styleDefault":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"styleLightContent":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"styleBlackTranslucent":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"styleBlackOpaque":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"backgroundColorByName":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"backgroundColorByHexString":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"hide":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"show":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"isVisible":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@ionic-native/core","name":"CordovaProperty"}]}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"StatusBar":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin"},"arguments":[{"pluginName":"StatusBar","plugin":"cordova-plugin-statusbar","pluginRef":"StatusBar","repo":"https://github.com/apache/cordova-plugin-statusbar","platforms":["Android","iOS","Windows","Windows Phone"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"overlaysWebView":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"styleDefault":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"styleLightContent":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"styleBlackTranslucent":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"styleBlackOpaque":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"backgroundColorByName":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"backgroundColorByHexString":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"hide":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"show":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"isVisible":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@ionic-native/core","name":"CordovaProperty"}]}]}}}},{"__symbolic":"module","version":1,"metadata":{"StatusBar":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Plugin"},"arguments":[{"pluginName":"StatusBar","plugin":"cordova-plugin-statusbar","pluginRef":"StatusBar","repo":"https://github.com/apache/cordova-plugin-statusbar","platforms":["Android","iOS","Windows","Windows Phone"]}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable"}}],"members":{"overlaysWebView":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"styleDefault":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"styleLightContent":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"styleBlackTranslucent":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"styleBlackOpaque":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"backgroundColorByName":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"backgroundColorByHexString":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"hide":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"show":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@ionic-native/core","name":"Cordova"},"arguments":[{"sync":true}]}]}],"isVisible":[{"__symbolic":"property","decorators":[{"__symbolic":"reference","module":"@ionic-native/core","name":"CordovaProperty"}]}]}}}}] |
{ | ||
"name": "@ionic-native/status-bar", | ||
"version": "4.4.0", | ||
"version": "4.4.2", | ||
"description": "Ionic Native - Native plugins for ionic apps", | ||
@@ -5,0 +5,0 @@ "module": "index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21454
6
277