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

Unified Diff: third_party/polymer/v1_0/components-chromium/paper-tabs/README.md

Issue 1766433002: Roll Polymer to 1.3.1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/polymer/v1_0/components-chromium/paper-tabs/README.md
diff --git a/third_party/polymer/v1_0/components-chromium/paper-tabs/README.md b/third_party/polymer/v1_0/components-chromium/paper-tabs/README.md
index cc28ca0c653d9c0bc741a3814bf81932c40b50a6..68fdc148571f00d2d9f4bc6885101d2f24b072ff 100644
--- a/third_party/polymer/v1_0/components-chromium/paper-tabs/README.md
+++ b/third_party/polymer/v1_0/components-chromium/paper-tabs/README.md
@@ -12,9 +12,9 @@ thing! https://github.com/PolymerLabs/tedium/issues
-->
-[![Build Status](https://travis-ci.org/PolymerElements/paper-tabs.svg?branch=master)](https://travis-ci.org/PolymerElements/paper-tabs)
+[![Build status](https://travis-ci.org/PolymerElements/paper-tabs.svg?branch=master)](https://travis-ci.org/PolymerElements/paper-tabs)
-_[Demo and API Docs](https://elements.polymer-project.org/elements/paper-tabs)_
+_[Demo and API docs](https://elements.polymer-project.org/elements/paper-tabs)_
##<paper-tabs>
@@ -36,7 +36,7 @@ Example:
</paper-tabs>
```
-See <a href="#paper-tab">paper-tab</a> for more information about
+See <a href="?active=paper-tab">paper-tab</a> for more information about
`paper-tab`.
A common usage for `paper-tabs` is to use it along with `iron-pages` to switch
@@ -61,10 +61,35 @@ element in `paper-tab`.
Example:
-```html
-<style is="custom-style">
+<pre><code>
+&lt;style is="custom-style">
.link {
-```
+ &#64;apply(--layout-horizontal);
+ &#64;apply(--layout-center-center);
+ }
+&lt;/style>
+
+&lt;paper-tabs selected="0">
+ &lt;paper-tab link>
+ &lt;a href="#link1" class="link">TAB ONE&lt;/a>
+ &lt;/paper-tab>
+ &lt;paper-tab link>
+ &lt;a href="#link2" class="link">TAB TWO&lt;/a>
+ &lt;/paper-tab>
+ &lt;paper-tab link>
+ &lt;a href="#link3" class="link">TAB THREE&lt;/a>
+ &lt;/paper-tab>
+&lt;/paper-tabs>
+</code></pre>
+
+### Styling
+
+The following custom properties and mixins are available for styling:
+
+| Custom property | Description | Default |
+| --- | --- | --- |
+| `--paper-tabs-selection-bar-color` | Color for the selection bar | `--paper-yellow-a100` |
+| `--paper-tabs` | Mixin applied to the tabs | `{}` |

Powered by Google App Engine
This is Rietveld 408576698