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 * 'cr-settings' is the main MD-Settings element, combining the UI and models. | 7 * 'cr-settings' is the main MD-Settings element, combining the UI and models. |
8 * | 8 * |
9 * Example: | 9 * Example: |
10 * | 10 * |
11 * <cr-settings></cr-settings> | 11 * <cr-settings></cr-settings> |
12 * | 12 * |
13 * @group Chrome Settings Elements | 13 * @group Chrome Settings Elements |
14 * @element cr-settings | 14 * @element cr-settings |
15 */ | 15 */ |
16 Polymer('cr-settings', {}); | 16 Polymer({ |
| 17 is: 'cr-settings', |
| 18 |
| 19 properties { |
| 20 /** |
| 21 * The CrSettingsPrefsElement used throughout the app. |
| 22 * @private {!CrSettingsPrefsElement} |
| 23 */ |
| 24 prefs_: { |
| 25 type: Object, |
| 26 value: function() { return this.$.prefs; }, |
| 27 notify: true, |
| 28 } |
| 29 }, |
| 30 }); |
OLD | NEW |