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

Side by Side Diff: chrome/browser/resources/cr_elements_ui/cr_elements_ui.js

Issue 1138153002: Introduce chrome://cr-elements with Polymer .8 cr-elements (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 /**
6 * @fileoverview Polymer element for UI wrapping a list of cr- elements.
7 */
8 (function() {
Jeremy Klein 2015/05/12 06:51:13 no need for the iife.
9
10 Polymer({
11 is: 'cr-elements-ui',
12
13 properties: {
14 checkboxChecked: {
15 type: Boolean,
16 value: true,
17 observer: 'checkboxCheckedChanged_'
18 },
19 collapseOpened: {
20 type: Boolean,
21 value: true,
22 observer: 'collapseOpenedChanged_'
23 },
24 inputValue: {
25 type: String,
26 value: '',
27 observer: 'inputValueChanged_'
28 },
29 },
30
31 checkboxCheckedChanged_: function() {
32 console.log('checkboxCheckedChanged=' + this.checkboxChecked);
33 },
34
35 collapseOpenedChanged_: function() {
36 console.log('collapseOpened=' + this.collapseOpened);
37 },
38
39 inputValueChanged_: function() {
40 console.log('inputValue=' + this.inputValue);
41 }
42
michaelpg 2015/05/14 03:05:11 nit: kill blank line
43 });
44 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698