Home | History | Annotate | only in /external/chromium-trace/catapult/third_party/polymer/components/iron-dropdown
Up to higher level directory
NameDateSize
.bower.json06-Dec-20161.7K
.gitignore06-Dec-201617
.travis.yml06-Dec-20161.8K
bower.json06-Dec-20161.4K
CONTRIBUTING.md06-Dec-20163.4K
demo/06-Dec-2016
index.html06-Dec-2016783
iron-dropdown-scroll-manager.html06-Dec-20168.3K
iron-dropdown.html06-Dec-20168.8K
README.md06-Dec-20161.5K
test/06-Dec-2016

README.md

      1 
      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 The bot does some handling of markdown. Please file a bug if it does the wrong
     11 thing! https://github.com/PolymerLabs/tedium/issues
     12 
     13 -->
     14 
     15 [![Build status](https://travis-ci.org/PolymerElements/iron-dropdown.svg?branch=master)](https://travis-ci.org/PolymerElements/iron-dropdown)
     16 
     17 _[Demo and API docs](https://elements.polymer-project.org/elements/iron-dropdown)_
     18 
     19 
     20 ##&lt;iron-dropdown&gt;
     21 
     22 `<iron-dropdown>` is a generalized element that is useful when you have
     23 hidden content (`.dropdown-content`) that is revealed due to some change in
     24 state that should cause it to do so.
     25 
     26 Note that this is a low-level element intended to be used as part of other
     27 composite elements that cause dropdowns to be revealed.
     28 
     29 Examples of elements that might be implemented using an `iron-dropdown`
     30 include comboboxes, menubuttons, selects. The list goes on.
     31 
     32 The `<iron-dropdown>` element exposes attributes that allow the position
     33 of the `.dropdown-content` relative to the `.dropdown-trigger` to be
     34 configured.
     35 
     36 ```html
     37 <iron-dropdown horizontal-align="right" vertical-align="top">
     38   <div class="dropdown-content">Hello!</div>
     39 </iron-dropdown>
     40 ```
     41 
     42 In the above example, the `<div>` with class `.dropdown-content` will be
     43 hidden until the dropdown element has `opened` set to true, or when the `open`
     44 method is called on the element.
     45 
     46 
     47