Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@polymer/paper-radio-button
Advanced tools
##<paper-radio-button>
Material design: Radio button
paper-radio-button
is a button that can be either checked or unchecked.
User can tap the radio button to check or uncheck it.
Use a <paper-radio-group>
to group a set of radio buttons. When radio buttons
are inside a radio group, exactly one radio button in the group can be checked
at any time.
Example:
<paper-radio-button></paper-radio-button>
<paper-radio-button>Item label</paper-radio-button>
The following custom properties and mixins are available for styling:
Custom property | Description | Default |
---|---|---|
--paper-radio-button-unchecked-background-color | Radio button background color when the input is not checked | transparent |
--paper-radio-button-unchecked-color | Radio button color when the input is not checked | --primary-text-color |
--paper-radio-button-unchecked-ink-color | Selected/focus ripple color when the input is not checked | --primary-text-color |
--paper-radio-button-checked-color | Radio button color when the input is checked | --primary-color |
--paper-radio-button-checked-ink-color | Selected/focus ripple color when the input is checked | --primary-color |
--paper-radio-button-size | Size of the radio button | 16px |
--paper-radio-button-label-color | Label color | --primary-text-color |
--paper-radio-button-label-spacing | Spacing between the label and the button | 10px |
This element applies the mixin --paper-font-common-base
but does not import paper-styles/typography.html
.
In order to apply the Roboto
font to this element, make sure you've imported paper-styles/typography.html
.
FAQs
A material design radio button
The npm package @polymer/paper-radio-button receives a total of 2,496 weekly downloads. As such, @polymer/paper-radio-button popularity was classified as popular.
We found that @polymer/paper-radio-button demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 11 open source maintainers 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.