Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(131)

Side by Side Diff: chrome/browser/resources/md_user_manager/user_manager_pages.js

Issue 1630903002: material design user manager with create profile flow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Dan's comments #2 Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 /**
6 * @fileoverview
7 * 'user-manager-pages' is the element that controls paging in the user manager
8 * screen.
9 *
10 * Example:
11 *
12 * <user-manager-pages selected-page="sample-page-id">
13 * <sample-page id="sample-page-id"></sample-page>
14 * ... other pages ...
15 * </user-manager-pages>
16 *
17 * @element user-manager-pages
18 */
19 Polymer({
20 is: 'user-manager-pages',
21
22 properties: {
23 /**
24 * id of the currently selected page.
25 * @type {boolean}
26 */
27 selectedPage: {
28 type: String,
29 }
30 },
31
32 /** @override */
33 attached: function() {
34 this.addEventListener('change-page', function(e) {
35 this.selectedPage = e.detail.page;
36 }.bind(this));
37 }
38 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698