Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 * 'settings-advanced-page' is the settings page containing the advanced | 7 * 'settings-advanced-page' is the settings page containing the advanced |
| 8 * settings. | 8 * settings. |
| 9 */ | 9 */ |
| 10 Polymer({ | 10 Polymer({ |
| (...skipping 19 matching lines...) Expand all Loading... | |
| 30 notify: true, | 30 notify: true, |
| 31 }, | 31 }, |
| 32 }, | 32 }, |
| 33 | 33 |
| 34 /** | 34 /** |
| 35 * @type {string} Selector to get the sections. | 35 * @type {string} Selector to get the sections. |
| 36 * TODO(michaelpg): replace duplicate docs with @override once b/24294625 | 36 * TODO(michaelpg): replace duplicate docs with @override once b/24294625 |
| 37 * is fixed. | 37 * is fixed. |
| 38 */ | 38 */ |
| 39 sectionSelector: 'settings-section', | 39 sectionSelector: 'settings-section', |
| 40 | |
| 41 /** override */ | |
| 42 ready: function() { | |
| 43 this.fire('advanced-page-ready'); | |
|
michaelpg
2016/06/27 23:00:04
i'm not sure this event is necessary. ready is cal
dpapad
2016/06/27 23:37:26
I tried using observeNodes() (after your suggestio
michaelpg
2016/06/29 01:18:57
you could try adding a listener for the dom-if's d
dpapad
2016/06/29 18:20:12
Removed this event.
| |
| 44 }, | |
| 40 }); | 45 }); |
| OLD | NEW |