/** * DO NOT EDIT * * This file was automatically generated by * https://github.com/Polymer/gen-typescript-declarations * * To modify these typings, edit the source file(s): * paper-input.html */ /// /// /// /// /// /// /// /** * Material design: [Text fields](https://www.google.com/design/spec/components/text-fields.html) * * `` is a single-line text field with Material Design styling. * * * * It may include an optional error message or character counter. * * * * * It can also include custom prefix or suffix elements, which are displayed * before or after the text input itself. In order for an element to be * considered as a prefix, it must have the `prefix` attribute (and similarly * for `suffix`). * * *
$
* *
* * 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 (search icon, * file button, date placeholder, etc.), in these cases the label will be * automatically floated. The `placeholder` attribute can still be used for * additional informational text. * * * * * See `Polymer.PaperInputBehavior` for more API docs. * * ### Focus * * To focus a paper-input, you can call the native `focus()` method as long as the * paper input has a tab index. Similarly, `blur()` will blur the element. * * ### Styling * * See `Polymer.PaperInputContainer` for a list of custom properties used to * style this element. * * The following custom properties and mixins are available for styling: * * Custom property | Description | Default * ----------------|-------------|---------- * `--paper-input-container-ms-clear` | Mixin applied to the Internet Explorer reveal button (the eyeball) | {} */ interface PaperInputElement extends Polymer.Element, Polymer.PaperInputBehavior, Polymer.IronFormElementBehavior { value: string|null|undefined; /** * Returns a reference to the focusable element. Overridden from * PaperInputBehavior to correctly focus the native input. */ readonly _focusableElement: HTMLElement; beforeRegister(): void; _onIronInputReady(): void; } interface HTMLElementTagNameMap { "paper-input": PaperInputElement; }