UNPKG

@polymer/paper-behaviors

Version:
46 lines (38 loc) 1.59 kB
<!doctype html> <!-- @license Copyright (c) 2015 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by Google as part of the polymer project is also subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt --> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1, user-scalable=yes"> <title>paper-behaviors demo</title> <script src="https://unpkg.com/@webcomponents/webcomponentsjs@^2.0.0/webcomponents-loader.js"></script> <script type="module" src="./paper-button.js"></script> <script type="module" src="./paper-radio-button.js"></script> <style> body { font-family: sans-serif; padding: 24px; margin: 0; } </style> </head> <body unresolved> <h3>Normal</h3> <paper-button tabindex="0">Hello World</paper-button> <h3>Toggles</h3> <paper-button toggles tabindex="0">Hello World</paper-button> <h3>Disabled</h3> <paper-button disabled tabindex="0">Hello World</paper-button> <h3>Radio button with focus state</h3> <paper-radio-button tabindex="0" title="Radio button with focus state"></paper-radio-button> </body> </html>