• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!doctype html>
2<!--
3@license
4Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
5This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
6The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
7The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
8Code distributed by Google as part of the polymer project is also
9subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
10-->
11<html>
12  <head>
13    <meta charset="utf-8">
14    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
15    <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1, user-scalable=yes">
16
17    <title>paper-behaviors demo</title>
18
19    <script src="../../webcomponentsjs/webcomponents-lite.js"></script>
20
21    <link href="paper-button.html" rel="import">
22    <link href="paper-radio-button.html" rel="import">
23
24    <style>
25      body {
26        font-family: sans-serif;
27        padding: 24px;
28        margin: 0;
29      }
30    </style>
31  </head>
32  <body unresolved>
33    <h3>Normal</h3>
34    <paper-button tabindex="0">Hello World</paper-button>
35
36    <h3>Toggles</h3>
37    <paper-button toggles tabindex="0">Hello World</paper-button>
38
39    <h3>Disabled</h3>
40    <paper-button disabled tabindex="0">Hello World</paper-button>
41
42    <h3>Radio button with focus state</h3>
43    <paper-radio-button tabindex="0" title="Radio button with focus state"></paper-radio-button>
44  </body>
45</html>
46