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 |
| 7 * 'cr-settings-ui' implements the UI for the Settings page. |
| 8 * |
| 9 * Example: |
| 10 * |
| 11 * <cr-settings-ui prefs="{{prefs}}"></cr-settings-ui> |
| 12 * |
| 13 * @group Chrome Settings Elements |
| 14 * @element cr-settings-ui |
| 15 */ |
| 16 Polymer('cr-settings-ui', { |
| 17 publish: { |
| 18 /** |
| 19 * Preferences state. |
| 20 * |
| 21 * @attribute prefs |
| 22 * @type CrSettingsPrefsElement |
| 23 * @default null |
| 24 */ |
| 25 prefs: null, |
| 26 |
| 27 /** |
| 28 * Ordered list of settings pages available to the user. Do not edit |
| 29 * this variable directly. |
| 30 * |
| 31 * @attribute pages |
| 32 * @type Array<!Object> |
| 33 * @default null |
| 34 */ |
| 35 pages: null, |
| 36 }, |
| 37 |
| 38 /** @override */ |
| 39 created: function() { |
| 40 this.pages = []; |
| 41 }, |
| 42 }); |
OLD | NEW |