| Index: third_party/polymer/components-chromium/paper-input/paper-input.html
|
| diff --git a/third_party/polymer/components-chromium/paper-input/paper-input.html b/third_party/polymer/components-chromium/paper-input/paper-input.html
|
| deleted file mode 100644
|
| index 4cb43cde34a1fca7645ef3543f36b5d5135ce24f..0000000000000000000000000000000000000000
|
| --- a/third_party/polymer/components-chromium/paper-input/paper-input.html
|
| +++ /dev/null
|
| @@ -1,69 +0,0 @@
|
| -<!--
|
| -Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
|
| -This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE
|
| -The complete set of authors may be found at http://polymer.github.io/AUTHORS
|
| -The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS
|
| -Code distributed by Google as part of the polymer project is also
|
| -subject to an additional IP rights grant found at http://polymer.github.io/PATENTS
|
| ---><!--
|
| -
|
| -Material Design: <a href="http://www.google.com/design/spec/components/text-fields.html#text-fields-single-line-text-field">Single line text field</a>
|
| -
|
| -`paper-input` is a single-line text field for user input. It is a convenience element composed of
|
| -a `paper-input-decorator` and a `input is="core-input"`.
|
| -
|
| -Example:
|
| -
|
| - <paper-input label="Your Name"></paper-input>
|
| -
|
| -If you need more control over the `input` element, use `paper-input-decorator`.
|
| -
|
| -Theming
|
| --------
|
| -
|
| -`paper-input` can be styled similarly to `paper-input-decorator`.
|
| -
|
| -Form submission
|
| ----------------
|
| -
|
| -Unlike inputs using `paper-input-decorator` directly, `paper-input` does not work out of
|
| -the box with the native `form` element. This is because the native `form` is not aware of
|
| -shadow DOM and does not treat `paper-input` as a form element.
|
| -
|
| -Use `paper-input-decorator` directly, or see
|
| -<a href="https://github.com/garstasio/ajax-form">`ajax-form`</a> for a possible solution
|
| -to submitting a `paper-input`.
|
| -
|
| -Validation
|
| -----------
|
| -
|
| -Use `paper-input-decorator` if you would like to implement validation.
|
| -
|
| -@group Paper Elements
|
| -@element paper-input
|
| -@homepage github.io
|
| ---><html><head><link href="../polymer/polymer.html" rel="import">
|
| -<link href="../core-input/core-input.html" rel="import">
|
| -
|
| -<link href="paper-input-decorator.html" rel="import">
|
| -
|
| -</head><body><polymer-element name="paper-input" assetpath="">
|
| -
|
| -<template>
|
| -
|
| - <style>
|
| - :host {
|
| - display: inline-block;
|
| - }
|
| - </style>
|
| -
|
| - <paper-input-decorator id="decorator" label="{{label}}" floatinglabel="{{floatingLabel}}" value="{{value}}" disabled?="{{disabled}}">
|
| - <input is="core-input" value="{{value}}" committedvalue="{{committedValue}}" on-change="{{changeAction}}" disabled?="{{disabled}}">
|
| - </paper-input-decorator>
|
| -
|
| -</template>
|
| -
|
| -
|
| -
|
| -</polymer-element>
|
| -<script charset="utf-8" src="paper-input-extracted.js"></script></body></html>
|
|
|