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

Side by Side Diff: third_party/polymer/v0_8/components-chromium/iron-collapse/README.md

Issue 1162963002: Revert "Rename polymer and cr_elements v0_8 to v1_0" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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-collapse 1 # iron-collapse
2 2
3 `iron-collapse` creates a collapsible block of content. By default, the content 3 `iron-collapse` creates a collapsible block of content. By default, the content
4 will be collapsed. Use `opened` or `toggle()` to show/hide the content. 4 will be collapsed. Use `opened` or `toggle()` to show/hide the content.
5 5
6 ```html 6 ```html
7 <button on-click="{{toggle}}">toggle collapse</button> 7 <button on-click="{{toggle}}">toggle collapse</button>
8 8
9 <iron-collapse id="collapse"> 9 <iron-collapse id="collapse">
10 <div>Content goes here...</div> 10 <div>Content goes here...</div>
(...skipping 17 matching lines...) Expand all
28 border: 1px solid #dedede; 28 border: 1px solid #dedede;
29 } 29 }
30 </style> 30 </style>
31 31
32 <iron-collapse> 32 <iron-collapse>
33 <div class="collapse-content"> 33 <div class="collapse-content">
34 <div>Content goes here...</div> 34 <div>Content goes here...</div>
35 </div> 35 </div>
36 </iron-collapse> 36 </iron-collapse>
37 ``` 37 ```
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698