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.
7 * 'cr-settings-drawer' holds the user card and navigation menu for settings
13 * <cr-settings-drawer drawer selectedId="{{selectedId}}"
15 * </cr-settings-drawer>
16 * <cr-settings-main main selectedId="{{selectedId}}" pages="{{pages}}">
18 * </core-drawer-panel>
20 * @group Chrome Settings Elements
21 * @element cr-settings-drawer
23 Polymer('cr-settings-drawer', {
26 * Pages to include in the navigation.
29 * @type Array<!Object>
35 * ID of the currently selected page.
37 * @attribute selectedId
51 * TODO(michaelpg): Create custom element and data source for user card.
55 email
: 'user@example.com',
56 iconUrl
: 'chrome://theme/IDR_PROFILE_AVATAR_23@1x',