diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2020-08-05 23:05:44 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-08-05 23:05:44 +0000 |
commit | 548f841b745404224698a3eafc6d4cb190d0ca8c (patch) | |
tree | 8a0d6fd78eb610653f12ded770595c80f1e89a61 /catapult/third_party/polymer/components/paper-input/README.md | |
parent | 1d3aa42aef5ab74bf9b13fb5a7e18c73e137f58c (diff) | |
parent | a5e4f4d2969520f4563ec0d66cbe469c49ee38bc (diff) | |
download | chromium-trace-548f841b745404224698a3eafc6d4cb190d0ca8c.tar.gz |
Merge changes Ie9f01eed,I3acb8a0d am: fb769a1607 am: 316160b179 am: 3fd616f492 am: 5338649baa am: a5e4f4d296
Original change: https://android-review.googlesource.com/c/platform/external/chromium-trace/+/1392438
Change-Id: I7a428aa7cb0cdad8a449e25867e8c4bb514c2d2d
Diffstat (limited to 'catapult/third_party/polymer/components/paper-input/README.md')
-rw-r--r-- | catapult/third_party/polymer/components/paper-input/README.md | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/catapult/third_party/polymer/components/paper-input/README.md b/catapult/third_party/polymer/components/paper-input/README.md new file mode 100644 index 00000000..80c6bc33 --- /dev/null +++ b/catapult/third_party/polymer/components/paper-input/README.md @@ -0,0 +1,38 @@ +[![Build status](https://travis-ci.org/PolymerElements/paper-input.svg?branch=master)](https://travis-ci.org/PolymerElements/paper-input) +[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://beta.webcomponents.org/element/PolymerElements/paper-input) + +## <paper-input> + +Material design: [Text fields](https://www.google.com/design/spec/components/text-fields.html) + +`<paper-input>` is a single-line text field with Material Design styling. + +<!--- +``` +<custom-element-demo> + <template> + <script src="../webcomponentsjs/webcomponents-lite.js"></script> + <link rel="import" href="paper-input.html"> + <link rel="import" href="../iron-icons/iron-icons.html"> + <style> + paper-input { + max-width: 400px; + margin: auto; + } + iron-icon, div[suffix] { + color: hsl(0, 0%, 50%); + margin-right: 12px; + } + </style> + <next-code-block></next-code-block> + </template> +</custom-element-demo> +``` +--> +```html +<paper-input always-float-label label="Floating label"></paper-input> +<paper-input label="username"> + <iron-icon icon="mail" prefix></iron-icon> + <div suffix>@email.com</div> +</paper-input> +``` |