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-dropdown-menu' is a Chrome-specific wrapper around paper-dropdown-menu.
8 * It includes a paper-dropdown so its content should just be a core-menu and
14 * <paper-item>Chrome</paper-item>
15 * <paper-item>Firefox</paper-item>
16 * <paper-item>IE</paper-item>
17 * <paper-item>Opera</paper-item>
21 * @group Chrome Elements
22 * @element cr-dropdown-menu
25 Polymer('cr-dropdown-menu', {
28 * True if the menu is open.
37 * A label for the control. The label is displayed if no item is selected.
41 * @default '<Dropdown Menu Label>'
43 label: '<Dropdown Menu Label>',
47 domReady: function() {
49 this.querySelector('.menu'),
50 'cr-dropdown-menu must have a menu child with class="menu".');