| 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 * Example: | 10 * Example: |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 /** | 24 /** |
| 25 * Preferences state. | 25 * Preferences state. |
| 26 */ | 26 */ |
| 27 prefs: { | 27 prefs: { |
| 28 type: Object, | 28 type: Object, |
| 29 notify: true, | 29 notify: true, |
| 30 }, | 30 }, |
| 31 | 31 |
| 32 /** | 32 /** |
| 33 * The current active route. | 33 * The current active route. |
| 34 * @type {SettingsRoute} |
| 34 */ | 35 */ |
| 35 currentRoute: { | 36 currentRoute: { |
| 36 type: Object, | 37 type: Object, |
| 37 notify: true, | 38 notify: true, |
| 38 }, | 39 }, |
| 39 }, | 40 }, |
| 40 | 41 |
| 41 /** | 42 /** |
| 42 * @type {string} Selector to get the sections. | 43 * @type {string} Selector to get the sections. |
| 43 * TODO(michaelpg): replace duplicate docs with @override once b/24294625 | 44 * TODO(michaelpg): replace duplicate docs with @override once b/24294625 |
| 44 * is fixed. | 45 * is fixed. |
| 45 */ | 46 */ |
| 46 sectionSelector: 'settings-section', | 47 sectionSelector: 'settings-section', |
| 47 | 48 |
| 48 /** @override */ | 49 /** @override */ |
| 49 attached: function() { | 50 attached: function() { |
| 50 /** @override */ | 51 /** @override */ |
| 51 this.scroller = this.parentElement; | 52 this.scroller = this.parentElement; |
| 52 }, | 53 }, |
| 53 }); | 54 }); |
| OLD | NEW |