
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@molecule/status-bar-style
Advanced tools
The @StatusBarStyle
-Decorator automatically adjusts the style of the StatusBar for your page.
It uses Ionic Native's StatusBar
and applies your requested style when the page will be presented.
@StatusBarStyle('lightContent')
@IonicPage()
@Component({
templateUrl: './your.page.html'
})
export class YourPage {
constructor(
public readonly statusBar: StatusBar
) { }
}
Currently @StatusBarStyle
won't reset the status bar style when a page will leave,
so all your pages should declare @StatusBarStyle
if the styles differ from page to page.
Additionally the status bar style should not be manipulated manually in order to avoid inconsistencies.
$ npm install --save @ionic-decorator/status-bar-style @ionic-native/core @ionic-native/status-bar
$ ionic plugin add --save cordova-plugin-statusbar
Valentin Knabel, @vknabel, dev@vknabel.com
@ionic-decorator/status-bar-style is available under the MIT license.
FAQs
Allows you to declare the StatusBar style of your Ionic Page
The npm package @molecule/status-bar-style receives a total of 18 weekly downloads. As such, @molecule/status-bar-style popularity was classified as not popular.
We found that @molecule/status-bar-style demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.