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 /** | 5 /** |
6 * @fileoverview 'user-manager-pages' is the element that controls paging in the | 6 * @fileoverview 'user-manager-pages' is the element that controls paging in the |
7 * user manager screen. | 7 * user manager screen. |
| 8 * |
| 9 * @element user-manager-pages |
8 */ | 10 */ |
9 Polymer({ | 11 Polymer({ |
10 is: 'user-manager-pages', | 12 is: 'user-manager-pages', |
11 | 13 |
12 properties: { | 14 properties: { |
13 /** | 15 /** |
14 * ID of the currently selected page. | 16 * ID of the currently selected page. |
15 * @private {string} | 17 * @private {string} |
16 */ | 18 */ |
17 selectedPage_: { | 19 selectedPage_: { |
(...skipping 18 matching lines...) Expand all Loading... |
36 /** | 38 /** |
37 * Returns True if the given page should be visible. | 39 * Returns True if the given page should be visible. |
38 * @param {string} selectedPage ID of the currently selected page. | 40 * @param {string} selectedPage ID of the currently selected page. |
39 * @param {string} page ID of the given page. | 41 * @param {string} page ID of the given page. |
40 * @return {boolean} | 42 * @return {boolean} |
41 */ | 43 */ |
42 isPageVisible_: function(selectedPage, page) { | 44 isPageVisible_: function(selectedPage, page) { |
43 return this.selectedPage_ == page; | 45 return this.selectedPage_ == page; |
44 } | 46 } |
45 }); | 47 }); |
OLD | NEW |