OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 /** |
| 6 * @fileoverview 'supervised-user-learn-more' is a page that contains |
| 7 * information about what a supervised user is, what happens when a supervised |
| 8 * user is created, and a link to the help center for more information. |
| 9 */ |
5 Polymer({ | 10 Polymer({ |
6 is: 'history-side-bar', | 11 is: 'supervised-user-learn-more', |
7 | 12 |
8 /** | 13 /** |
9 * Handles menu selection changes. | 14 * Handler for the 'Done' button click event. |
10 * @param {Event} e | 15 * @param {!Event} event |
11 * @private | 16 * @private |
12 */ | 17 */ |
13 onSelect_: function(e) { | 18 onDoneTap_: function(event) { |
14 this.fire('unselect-all'); | 19 // Event is caught by user-manager-pages. |
15 this.fire('switch-display', {display: e.detail.item.id}); | 20 this.fire('change-page', {page: 'create-user-page'}); |
16 }, | 21 } |
17 }); | 22 }); |
OLD | NEW |