| OLD | NEW |
| 1 <!-- Copyright 2016 The Chromium Authors. All rights reserved. | 1 <!-- Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 Use of this source code is governed by a BSD-style license that can be | 2 Use of this source code is governed by a BSD-style license that can be |
| 3 found in the LICENSE file. --> | 3 found in the LICENSE file. --> |
| 4 | 4 |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h
tml"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icons/iron-icons.h
tml"> |
| 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt
on.html"> |
| 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-fab/paper-fab.htm
l"> | 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-fab/paper-fab.htm
l"> |
| 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> |
| 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html
"> | 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html
"> |
| 10 | 10 |
| 11 <!-- | 11 <!-- |
| 12 Material design button that shows a forward arrow, typically used for | |
| 13 navigating to the next page/screen. | |
| 14 | |
| 15 Attributes: | |
| 16 'disabled' - button is disabled when the attribute is set. | |
| 17 | |
| 18 Example: | |
| 19 <oobe-next-button></oobe-next-button> | |
| 20 --> | |
| 21 <dom-module id="oobe-next-button"> | |
| 22 <link rel="stylesheet" href="oobe_next_button.css"> | |
| 23 <template> | |
| 24 <paper-fab icon="arrow-forward" disabled="[[disabled]]"></paper-fab> | |
| 25 </template> | |
| 26 </dom-module> | |
| 27 | |
| 28 <!-- | |
| 29 Material design button that shows an icon. | 12 Material design button that shows an icon. |
| 30 | 13 |
| 31 Example: | 14 Example: |
| 32 <oobe-icon-button icon="close"></oobe-icon-button> | 15 <oobe-icon-button icon="close"></oobe-icon-button> |
| 33 | 16 |
| 34 Attributes: | 17 Attributes: |
| 35 'icon' - a name of icon from material design set to show on button. | 18 'icon' - a name of icon from material design set to show on button. |
| 36 'disabled' - button is disabled when the attribute is set. | 19 'disabled' - button is disabled when the attribute is set. |
| 37 'aria-label' - accessibility label. | 20 'aria-label' - accessibility label. |
| 38 --> | 21 --> |
| (...skipping 28 matching lines...) Expand all Loading... |
| 67 <div on-click="onClick_" on-tap="onClick_"> | 50 <div on-click="onClick_" on-tap="onClick_"> |
| 68 <paper-button id="textButton" disabled="[[disabled]]" | 51 <paper-button id="textButton" disabled="[[disabled]]" |
| 69 inverse$="[[inverse]]"> | 52 inverse$="[[inverse]]"> |
| 70 [[label]] | 53 [[label]] |
| 71 <content></content> | 54 <content></content> |
| 72 </paper-button> | 55 </paper-button> |
| 73 </div> | 56 </div> |
| 74 </template> | 57 </template> |
| 75 </dom-module> | 58 </dom-module> |
| 76 | 59 |
| OLD | NEW |