Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 /** | |
| 6 * @fileoverview 'cr-flags-table' displays the list of flags. | |
| 7 */ | |
| 8 Polymer({ | |
| 9 is: 'cr-flags-table', | |
| 10 | |
| 11 properties: { | |
| 12 /** | |
| 13 * The set of flags. | |
| 14 * @type !Array<!CrFlag> | |
| 15 */ | |
| 16 flags: { | |
| 17 type: Array, | |
| 18 value: function() { return []; }, | |
| 19 }, | |
| 20 }, | |
| 21 | |
| 22 observers: [ | |
| 23 'flagsChanged_(flags.*)', | |
|
michaelpg
2015/07/07 19:31:51
I must be missing something obvious, but isn't thi
| |
| 24 ], | |
| 25 | |
| 26 flagsChanged_: function(e) { | |
| 27 console.log(e); | |
| 28 }, | |
| 29 }); | |
| OLD | NEW |