/** * 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-error.html */ /// /// /// /// /** * `` is an error message for use with ``. The error is * displayed when the `` is `invalid`. * * * * Only numbers are allowed! * * * ### Styling * * The following custom properties and mixins are available for styling: * * Custom property | Description | Default * ----------------|-------------|---------- * `--paper-input-container-invalid-color` | The foreground color of the error | `--error-color` * `--paper-input-error` | Mixin applied to the error | `{}` */ interface PaperInputErrorElement extends Polymer.Element, Polymer.PaperInputAddonBehavior { /** * True if the error is showing. */ readonly invalid: boolean|null|undefined; /** * This overrides the update function in PaperInputAddonBehavior. * * @param state inputElement: The input element. * value: The input value. * invalid: True if the input value is invalid. */ update(state: {inputElement?: Element|null, value?: string, invalid: boolean}): void; } interface HTMLElementTagNameMap { "paper-input-error": PaperInputErrorElement; }