| Index: lib/src/paper-input/paper-input.html
|
| diff --git a/lib/src/paper-input/paper-input.html b/lib/src/paper-input/paper-input.html
|
| index ffd06b8224f1f5b3a236560bab19291a29aa0471..a6b99278bc82de52fb11a26bb56a1f07981a2499 100644
|
| --- a/lib/src/paper-input/paper-input.html
|
| +++ b/lib/src/paper-input/paper-input.html
|
| @@ -16,6 +16,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
| <link rel="import" href="paper-input-char-counter.html">
|
|
|
| <!--
|
| +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.
|
|
|
| <paper-input label="Input label"></paper-input>
|
| @@ -35,6 +37,15 @@ for `suffix`).
|
| <paper-icon-button suffix icon="clear"></paper-icon-button>
|
| </paper-input>
|
|
|
| +A `paper-input` can use the native `type=search` or `type=file` features.
|
| +However, since we can't control the native styling of the input, in these cases
|
| +it's recommended to use a placeholder text, or `always-float-label`,
|
| +as to not overlap the native UI (search icon, file button, etc.).
|
| +
|
| + <paper-input label="search!" type="search"
|
| + placeholder="search for cats" autosave="test" results="5">
|
| + </paper-input>
|
| +
|
| See `Polymer.PaperInputBehavior` for more API docs.
|
|
|
| ### Styling
|
| @@ -106,7 +117,11 @@ style this element.
|
| size$="[[size]]"
|
| autocapitalize$="[[autocapitalize]]"
|
| autocorrect$="[[autocorrect]]"
|
| - on-change="_onChange">
|
| + on-change="_onChange"
|
| + autosave$="[[autosave]]"
|
| + results$="[[results]]"
|
| + accept$="[[accept]]"
|
| + multiple$="[[multiple]]">
|
|
|
| <content select="[suffix]"></content>
|
|
|
|
|