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-dummy-page' is a placeholder page for testing settings UI. |
| 8 */ |
| 9 Polymer('cr-settings-dummy-page', { |
| 10 publish: { |
| 11 /** |
| 12 * ID of the page. |
| 13 * |
| 14 * @attribute PAGE_ID |
| 15 * @const string |
| 16 * default 'dummy' |
| 17 */ |
| 18 PAGE_ID: 'dummy', |
| 19 |
| 20 /** |
| 21 * Title for the page header and navigation menu. |
| 22 * |
| 23 * @attribute pageTitle |
| 24 * @type string |
| 25 * @default 'Dummy page' |
| 26 */ |
| 27 pageTitle: 'Dummy page', |
| 28 |
| 29 /** |
| 30 * Name of the 'core-icon' to show. |
| 31 * |
| 32 * @attribute icon |
| 33 * @type string |
| 34 * @default 'add-circle' |
| 35 */ |
| 36 icon: 'add-circle', |
| 37 }, |
| 38 |
| 39 /** |
| 40 * Placeholder text for help articles. |
| 41 */ |
| 42 helpArticles: [{ |
| 43 title: 'Dummy Help Article', |
| 44 content: 'You are not a dummy, but in case you need help, this help ' + |
| 45 'article might help.', |
| 46 }, { |
| 47 title: 'Did You Know?', |
| 48 content: 'Oh... you did? Ok. I was just going to... well.. never mind. ' + |
| 49 'I\'ll just let you be, then.', |
| 50 }], |
| 51 |
| 52 /** |
| 53 * Event handler for the toggle button for the 'cr-collapse'. |
| 54 */ |
| 55 toggleCollapse_: function() { |
| 56 this.$.collapse.toggle(); |
| 57 }, |
| 58 }); |
OLD | NEW |