Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
9
Maintainers
3
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
3
Created

Changelog

Source

0.1.6 (2020-09-27)

Update

  • updating typpings 12855c7 by Pawel
  • [ci skip] automated merge master->stage. syncing main branches cb9f565 by Ci agent

Bug Fixes

  • fixing function call after mixing upgrade 6fc6899 by Pawel

Readme

Source

Published on NPM

Build Status

<anypoint-radio-button>

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.

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 27 Sep 2020

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