
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
nativescript-badge-button
Advanced tools
Creates a native UIButton with a badge component. Currently only supported on iOS.
npm install nativescript-badge-button --save
BadgeButton
element to your Page
tag:xmlns:BadgeButton="nativescript-badge-button"
<BadgeButton:BadgeButton text="Button with Badge" badgeValue="1" badgeOriginX="450" />
Property | Type | Default |
---|---|---|
badgeBGColor | UIColor | redColor |
badgeTextColor | UIColor | whiteColor |
badgeFont | UIFont | systemFontOfSize:12.0 |
badgePadding | number | 6 |
badgeMinSize | number | 8 |
badgeOriginX | number | 0 |
badgeOriginY | number | -4 |
shouldHideBadgeAtZero | boolean | true |
shouldAnimateBadge | boolean | true |
FAQs
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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.