Socket
Socket
Sign inDemoInstall

@anypoint-web-components/anypoint-radio-button

Package Overview
Dependencies
9
Maintainers
4
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anypoint-web-components/anypoint-radio-button

Anypoint styled radio button


Version published
Maintainers
4
Weekly downloads
406
decreased by-32.78%

Weekly downloads

Readme

Source

Deprecated

This component has been moved to anypoint-web-components/awc.


Accessible radio button and radio button group for Anypoint platform.

Radio buttons are used to select one of predefined options. Radio buttons should be used when the user must see all available options. Consider using a dropdown list if the options can be collapsed.

See Radio buttons documentation in Material Design documentation for principles and anatomy of radio buttons.

Published on NPM

tests

Usage

Installation

npm i --save @anypoint-web-components/anypoint-radio-button

In an HTML file

<html>
  <head>
    <script type="module">
      import '@anypoint-web-components/anypoint-radio-button/anypoint-radio-button.js';
      import '@anypoint-web-components/anypoint-radio-button/anypoint-radio-group.js';
    </script>
  </head>
  <body>
    <anypoint-radio-group selectable="anypoint-radio-button">
       <anypoint-radio-button name="a">Apple</anypoint-radio-button>
       <anypoint-radio-button name="b">Banana</anypoint-radio-button>
       <anypoint-radio-button name="c">Orange</anypoint-radio-button>
    </anypoint-radio-group>
  </body>
</html>

Development

git clone https://github.com/anypoint-web-components/anypoint-radio-button
cd anypoint-radio-button
npm install

Running the demo locally

npm start

Running the tests

npm test

Keywords

FAQs

Last updated on 15 Oct 2021

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