
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
org.webjars.bower:github-com-PolymerElements-paper-radio-button
Advanced tools
WebJar for paper-radio-button
##<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
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
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.