vaadin/vaadin-radio-button

Name: vaadin-radio-button

Owner: Vaadin

Description: The Web Component for customized radio buttons. Part of the Vaadin components.

Created: 2017-06-27 06:46:56.0

Updated: 2018-05-23 08:49:02.0

Pushed: 2018-05-23 08:49:08.0

Homepage: https://vaadin.com/components

Size: 530

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

npm version Published on webcomponents.org Build Status Gitter

Published on Vaadin  Directory Stars on vaadin.com/directory

<vaadin-radio-button>

Live Demo ? | API documentation ?

<vaadin-radio-button> is a Polymer 2 element providing an accessible and customizable radio button, part of the Vaadin components.

din-radio-group name="radio-group" value="bar">
aadin-radio-button value="foo">Foo</vaadin-radio-button>
aadin-radio-button value="bar">Bar</vaadin-radio-button>
aadin-radio-button value="baz">Baz</vaadin-radio-button>
adin-radio-group>

Screenshot of vaadin-radio-group

Getting Started

Vaadin components use the Lumo theme by default.

The file structure for Vaadin components
Running demos and tests in browser
  1. Fork the vaadin-radio-button repository and clone it locally.

  2. Make sure you have npm installed.

  3. When in the vaadin-radio-button directory, run npm install and then bower install to install dependencies.

  4. Run polymer serve --open, browser will automatically open the component API documentation.

  5. You can also open demo or in-browser tests by adding demo or test to the URL, for example:

  6. http://127.0.0.1:8080/components/vaadin-radio-button/demo

  7. http://127.0.0.1:8080/components/vaadin-radio-button/test

Running tests from the command line
  1. When in the vaadin-radio-button directory, run polymer test
Following the coding style

We are using ESLint for linting JavaScript code. You can check if your code is following our standards by running gulp lint, which will automatically lint all .js files as well as JavaScript snippets inside .html files.

Contributing
License

Apache License 2.0

Vaadin collects development time usage statistics to improve this product. For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.