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

Side by Side Diff: third_party/polymer/v1_0/components-chromium/iron-dropdown/README.md

Issue 1561893002: [Polymer] Roll polymer to latest version (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update grdp Created 4 years, 11 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
1 iron-dropdown
2 =============
3 1
4 An element that implements a simple drop-down menu widget with a trigger and con tent. 2 <!---
3
4 This README is automatically generated from the comments in these files:
5 iron-dropdown.html
6
7 Edit those files, and our readme bot will duplicate them over here!
8 Edit this file, and the bot will squash your changes :)
9
10 -->
11
12 [![Build Status](https://travis-ci.org/PolymerElements/iron-dropdown.svg?branch= master)](https://travis-ci.org/PolymerElements/iron-dropdown)
13
14 _[Demo and API Docs](https://elements.polymer-project.org/elements/iron-dropdown )_
15
16
17 ##&lt;iron-dropdown&gt;
18
19
20 `<iron-dropdown>` is a generalized element that is useful when you have
21 hidden content (`.dropdown-content`) that is revealed due to some change in
22 state that should cause it to do so.
23
24 Note that this is a low-level element intended to be used as part of other
25 composite elements that cause dropdowns to be revealed.
26
27 Examples of elements that might be implemented using an `iron-dropdown`
28 include comboboxes, menubuttons, selects. The list goes on.
29
30 The `<iron-dropdown>` element exposes attributes that allow the position
31 of the `.dropdown-content` relative to the `.dropdown-trigger` to be
32 configured.
33
34 <iron-dropdown horizontal-align="right" vertical-align="top">
35 <div class="dropdown-content">Hello!</div>
36 </iron-dropdown>
37
38 In the above example, the `<div>` with class `.dropdown-content` will be
39 hidden until the dropdown element has `opened` set to true, or when the `open`
40 method is called on the element.
41
42
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698