| Index: polymer_0.5.4/bower_components/paper-button/demo.html
|
| diff --git a/polymer_0.5.0/bower_components/paper-button/demo.html b/polymer_0.5.4/bower_components/paper-button/demo.html
|
| similarity index 84%
|
| copy from polymer_0.5.0/bower_components/paper-button/demo.html
|
| copy to polymer_0.5.4/bower_components/paper-button/demo.html
|
| index 2f30039196b9cf0f33295be0edddc9e7119571bd..733f976b9630a62a2ca6b20ae88f4184a4eeae71 100644
|
| --- a/polymer_0.5.0/bower_components/paper-button/demo.html
|
| +++ b/polymer_0.5.4/bower_components/paper-button/demo.html
|
| @@ -62,8 +62,10 @@ license that can be found in the LICENSE file.
|
|
|
| </style>
|
| </head>
|
| -<body unresolved onclick="clickAction(event);">
|
| +<body unresolved>
|
|
|
| + <template is="auto-binding">
|
| + <div id="clicker" on-tap="{{clickAction}}">
|
| <section>
|
|
|
| <div>Flat buttons</div>
|
| @@ -109,12 +111,28 @@ license that can be found in the LICENSE file.
|
|
|
| <section>
|
|
|
| + <div>Toggle buttons</div>
|
| +
|
| + <paper-button toggle>button</paper-button>
|
| +
|
| + <paper-button toggle raised noink>noink</paper-button>
|
| +
|
| + <paper-button toggle active class="colored">active</paper-button>
|
| +
|
| + <paper-button toggle raised active class="colored">active</paper-button>
|
| +
|
| + </section>
|
| +
|
| + <section>
|
| +
|
| <div>Styling options</div>
|
|
|
| <paper-button class="hover">hover</paper-button>
|
| <paper-button class="blue-ripple">custom ripple</paper-button>
|
|
|
| </section>
|
| +</div>
|
| +</template>
|
|
|
| <script>
|
|
|
| @@ -129,6 +147,10 @@ license that can be found in the LICENSE file.
|
| }
|
| }
|
|
|
| + addEventListener('template-bound', function(e) {
|
| + e.target.clickAction = clickAction;
|
| + });
|
| +
|
| </script>
|
|
|
| </body>
|
|
|