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 * Event handler for the toggle button for the 'cr-collapse'. |
| 41 * |
| 42 * @private |
| 43 */ |
| 44 toggleCollapse_: function() { |
| 45 this.$.collapse.toggle(); |
| 46 }, |
| 47 }); |
OLD | NEW |