/** * 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-addon-behavior.html */ /// declare namespace Polymer { /** * Use `Polymer.PaperInputAddonBehavior` to implement an add-on for * ``. A add-on appears below the input, and may display * information based on the input value and validity such as a character counter * or an error message. */ interface PaperInputAddonBehavior { attached(): void; /** * The function called by `` when the input value or * validity changes. * * @param state inputElement: The input element. * value: The input value. * invalid: True if the input value is invalid. */ update(state: {invalid: boolean, inputElement?: Element|null, value?: string}): void; } const PaperInputAddonBehavior: object; }