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-a11y-page' is the settings page containing accessibility | 7 * 'cr-settings-a11y-page' is the settings page containing accessibility |
8 * settings. | 8 * settings. |
9 * | 9 * |
10 * Example: | 10 * Example: |
11 * | 11 * |
12 * <core-animated-pages> | 12 * <core-animated-pages> |
13 * <cr-settings-a11y-page></cr-settings-a11y-page> | 13 * <cr-settings-a11y-page prefs="{{prefs}}"></cr-settings-a11y-page> |
14 * ... other pages ... | 14 * ... other pages ... |
15 * </core-animated-pages> | 15 * </core-animated-pages> |
16 * | 16 * |
17 * @group Chrome Settings Elements | 17 * @group Chrome Settings Elements |
18 * @element cr-settings-a11y-page | 18 * @element cr-settings-a11y-page |
19 */ | 19 */ |
20 Polymer('cr-settings-a11y-page', { | 20 Polymer('cr-settings-a11y-page', { |
21 publish: { | 21 publish: { |
22 /** | 22 /** |
23 * Preferences state. | 23 * Preferences state. |
24 * | 24 * |
25 * @attribute prefs | 25 * @attribute prefs |
26 * @type CrSettingsPrefsElement | 26 * @type CrSettingsPrefsElement |
27 * @default null | 27 * @default null |
28 */ | 28 */ |
29 prefs: null, | 29 prefs: null, |
| 30 |
| 31 /** |
| 32 * ID of the page. |
| 33 * |
| 34 * @attribute PAGE_ID |
| 35 * @const string |
| 36 * @default 'a11y' |
| 37 */ |
| 38 PAGE_ID: 'a11y', |
| 39 |
| 40 /** |
| 41 * Title for the page header and navigation menu. |
| 42 * |
| 43 * @attribute pageTitle |
| 44 * @type string |
| 45 * @default 'Accessibility' |
| 46 */ |
| 47 pageTitle: 'Accessibility', |
| 48 |
| 49 /** |
| 50 * Name of the 'core-icon' to show. |
| 51 * |
| 52 * @attribute icon |
| 53 * @type string |
| 54 * @default 'accessibility' |
| 55 */ |
| 56 icon: 'accessibility', |
30 }, | 57 }, |
31 }); | 58 }); |
OLD | NEW |