Skip to content

Instantly share code, notes, and snippets.

@bgotink
Created June 19, 2016 22:43
Show Gist options
  • Save bgotink/b90592c5d367553af0821f01ccc303f1 to your computer and use it in GitHub Desktop.
Save bgotink/b90592c5d367553af0821f01ccc303f1 to your computer and use it in GitHub Desktop.
Get paper-buttons to behave as a radio group
<paper-radio-group
class="language-select"
selected-attribute="active"
selectable="paper-button"
selected="{{language}}">
<template is="dom-repeat" items="[[possibleLanguages]]">
<paper-button disabled="[[disabled]]" toggles raised noink name="[[item]]">[[item]]</paper-button>
</template>
</paper-radio-group>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment