com.vaadin.polymer.paper.PaperInputAddonBehavior Maven / Gradle / Ivy
The 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;
import com.vaadin.polymer.elemental.*;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;
import jsinterop.annotations.JsOverlay;
import jsinterop.annotations.JsProperty;
import jsinterop.annotations.JsType;
/**
* Use Polymer.PaperInputAddonBehavior
to implement an add-on for <paper-input-container>
. 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.
*/
@JsType(isNative=true)
public interface PaperInputAddonBehavior {
@JsOverlay public static final String NAME = "Polymer.PaperInputAddonBehavior";
@JsOverlay public static final String SRC = "paper-input/paper-textarea.html";
/**
* The function called by <paper-input-container>
when the input value or validity changes.
*
* JavaScript Info:
* @method update
* @param {{inputElement: (Element|undefined), value: (string|undefined), invalid: boolean}} state
*
*
*/
void update(Object state);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy