Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: ui/webui/resources/cr_elements/cr_button/cr_button.js

Issue 987433007: JS cleanup for cr_elements (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | ui/webui/resources/cr_elements/cr_checkbox/cr_checkbox.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * 'cr-button' is a chrome-specific wrapper around paper-button. 7 * 'cr-button' is a chrome-specific wrapper around paper-button.
8 * 8 *
9 * Example: 9 * Example:
10 * 10 *
11 * <cr-button>Press Here</cr-button> 11 * <cr-button>Press Here</cr-button>
12 * <cr-button raised>Raised Button</cr-button> 12 * <cr-button raised>Raised Button</cr-button>
13 * <cr-button> 13 * <cr-button>
(...skipping 17 matching lines...) Expand all
31 /** 31 /**
32 * If true, the button will be disabled and greyed out. 32 * If true, the button will be disabled and greyed out.
33 * 33 *
34 * @attribute disabled 34 * @attribute disabled
35 * @type boolean 35 * @type boolean
36 * @default false 36 * @default false
37 */ 37 */
38 disabled: {value: false, reflect: true}, 38 disabled: {value: false, reflect: true},
39 }, 39 },
40 }); 40 });
OLDNEW
« no previous file with comments | « no previous file | ui/webui/resources/cr_elements/cr_checkbox/cr_checkbox.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698