Socket
Socket
Sign inDemoInstall

@polymer/paper-radio-group

Package Overview
Dependencies
16
Maintainers
7
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @polymer/paper-radio-group

A group of material design radio buttons


Version published
Maintainers
7
Install size
2.13 MB
Created

Readme

Source

Build status

Demo and API docs

<paper-radio-group>

Material design: Radio button

paper-radio-group allows user to select at most one radio button from a set. Checking one radio button that belongs to a radio group unchecks any previously checked radio button within the same group. Use selected to get or set the selected radio button.

The inside the group must have the name attribute set.

Example:

<paper-radio-group selected="small">
  <paper-radio-button name="small">Small</paper-radio-button>
  <paper-radio-button name="medium">Medium</paper-radio-button>
  <paper-radio-button name="large">Large</paper-radio-button>
</paper-radio-group>

Radio-button-groups can be made optional, and allow zero buttons to be selected:

<paper-radio-group selected="small" allow-empty-selection>
  <paper-radio-button name="small">Small</paper-radio-button>
  <paper-radio-button name="medium">Medium</paper-radio-button>
  <paper-radio-button name="large">Large</paper-radio-button>
</paper-radio-group>

See paper-radio-button for more information about paper-radio-button.

Custom propertyDescriptionDefault
--paper-radio-group-item-paddingThe padding of the item12px

Notable breaking changes between 1.x and 2.x (hybrid):

IronSelectableBehavior and IronMultiSelectableBehavior, which are used by paper-radio-group, introduce multiple breaking changes. Please see the README for those behaviors for more detail.

Keywords

FAQs

Last updated on 23 Jun 2018

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc