A button group with paper-button
style. It also implement the iron-multi-selectable
behavior which permit to select a choice bu taping on a button.
[ This description is mirrored from README.md at github.com/NeilujD/paper-buttons-group on 2019-05-22 ]
<paper-buttons-group>
Example
<paper-buttons-group selected="0">
<paper-button>CHOICE 1</paper-button>
<paper-button>CHOICE 2</paper-button>
<paper-button>CHOICE 3</paper-button>
</paper-buttons-group>
A button group with paper-button
style
Install the Polymer-CLI
First, make sure you have the Polymer CLI installed. Then run polymer serve
to serve your application locally.
Viewing Your Application
$ polymer serve
Building Your Application
$ polymer build
This will create a build/
folder with bundled/
and unbundled/
sub-folders containing a bundled (Vulcanized) and unbundled builds, both run through HTML, CSS, and JS optimizers.
You can serve the built versions by giving polymer serve
a folder to serve from:
$ polymer serve build/bundled
Running Tests
$ polymer test
Your application is already set up to be tested via web-component-tester. Run polymer test
to run your application's test suite locally.
Install
Dependencies
- polymer#Polymer/polymer#^2.0.0
- paper-button#PolymerElements/paper-button#^2.0.0
- iron-selector#PolymerElements/iron-selector#^2.0.0
- paper-material#PolymerElements/paper-material#^2.0.0
- paper-behaviors#PolymerElements/paper-behaviors#^2.0.0
- iron-flex-layout#PolymerElements/iron-flex-layout#^2.0.0
- paper-styles#PolymerElements/paper-styles#^2.0.0