/** * DO NOT EDIT * * This file was automatically generated by * https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations * * To modify these typings, edit the source file(s): * iron-form-element-behavior.js */ export {IronFormElementBehavior}; /** * IronFormElementBehavior adds a `name`, `value` and `required` properties to * a custom element. It mostly exists for backcompatibility with Polymer 1.x, and * is probably not something you want to use. * * */ interface IronFormElementBehavior { /** * The name of this element. */ name: string|null|undefined; /** * The value for this element. */ value: any; /** * Set to true to mark the input as required. If used in a form, a * custom element that uses this behavior should also use * IronValidatableBehavior and define a custom validation method. * Otherwise, a `required` element will always be considered valid. * It's also strongly recommended to provide a visual style for the element * when its value is invalid. */ required: boolean|null|undefined; /** * Empty implementations for backcompatibility. */ attached(): void; detached(): void; } declare const IronFormElementBehavior: object;