All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vaadin.polymer.paper.element.PaperInputErrorElement Maven / Gradle / Ivy

There is a newer version: 1.9.3.1
Show newest version
/*
 * This code was generated with Vaadin Web Component GWT API Generator, 
 * from paper-input project by The Polymer Authors
 * that is licensed with http://polymer.github.io/LICENSE.txt license.
 */
package com.vaadin.polymer.paper.element;

import com.vaadin.polymer.elemental.*;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.core.client.js.JsProperty;
import com.google.gwt.core.client.js.JsType;

/**
 * 

<paper-input-error> is an error message for use with <paper-input-container>. The error is
displayed when the <paper-input-container> is invalid.

*
<paper-input-container>
 *   <input is="iron-input" pattern="[0-9]*">
 *   <paper-input-error>Only numbers are allowed!</paper-input-error>
 * </paper-input-container>
 * 
 * 
 * 

Styling

*

The following custom properties and mixins are available for styling:

* * * * * * * * * * * * * * * * * * * * *
Custom propertyDescriptionDefault
--paper-input-container-invalid-colorThe foreground color of the error--google-red-500
--paper-input-errorMixin applied to the error{}
*/ @JsType public interface PaperInputErrorElement extends HTMLElement { public static final String TAG = "paper-input-error"; public static final String SRC = "paper-input/all-imports.html"; /** *

True if the error is showing.

* * JavaScript Info: * @property invalid * @type Boolean * */ @JsProperty boolean getInvalid(); /** *

True if the error is showing.

* * JavaScript Info: * @property invalid * @type Boolean * */ @JsProperty void setInvalid(boolean value); /** * * * JavaScript Info: * @method update * @param {} state * */ void update(JavaScriptObject state); /** * * * JavaScript Info: * @property hostAttributes * @type Object * */ @JsProperty JavaScriptObject getHostAttributes(); /** * * * JavaScript Info: * @property hostAttributes * @type Object * */ @JsProperty void setHostAttributes(JavaScriptObject value); /** * * * JavaScript Info: * @method attached * @behavior PaperInputCharCounter */ void attached(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy