/** * 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-char-counter.html */ /// /// /// /** * `` is a character counter for use with ``. It * shows the number of characters entered in the input and the max length if it is specified. * * * * * * * ### Styling * * The following mixin is available for styling: * * Custom property | Description | Default * ----------------|-------------|---------- * `--paper-input-char-counter` | Mixin applied to the element | `{}` */ interface PaperInputCharCounterElement extends Polymer.Element, Polymer.PaperInputAddonBehavior { _charCounterStr: string|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-char-counter": PaperInputCharCounterElement; }