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

com.vaadin.polymer.iron.element.IronAutogrowTextareaElement 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 iron-autogrow-textarea project by The Polymer Authors
 * that is licensed with http://polymer.github.io/LICENSE.txt license.
 */
package com.vaadin.polymer.iron.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;

/**
 * 

iron-autogrow-textarea is an element containing a textarea that grows in height as more
lines of input are entered. Unless an explicit height or the maxRows property is set, it will
never scroll.

*

Example:

*
<iron-autogrow-textarea></iron-autogrow-textarea>
 * 
 * 
 * 

Because the textarea‘s value property is not observable, you should use
this element’s bind-value instead for imperative updates.

*/ @JsType public interface IronAutogrowTextareaElement extends HTMLElement { public static final String TAG = "iron-autogrow-textarea"; public static final String SRC = "iron-autogrow-textarea/iron-autogrow-textarea.html"; /** *

Bound to the textarea’s autocomplete attribute.

* * JavaScript Info: * @property autocomplete * @type String * */ @JsProperty String getAutocomplete(); /** *

Bound to the textarea’s autocomplete attribute.

* * JavaScript Info: * @property autocomplete * @type String * */ @JsProperty void setAutocomplete(String value); /** *

Bound to the textarea’s autofocus attribute.

* * JavaScript Info: * @property autofocus * @type Boolean * */ @JsProperty boolean getAutofocus(); /** *

Bound to the textarea’s autofocus attribute.

* * JavaScript Info: * @property autofocus * @type Boolean * */ @JsProperty void setAutofocus(boolean value); /** *

Use this property instead of value for two-way data binding.

* * JavaScript Info: * @property bindValue * @type String * */ @JsProperty String getBindValue(); /** *

Use this property instead of value for two-way data binding.

* * JavaScript Info: * @property bindValue * @type String * */ @JsProperty void setBindValue(String value); /** *

Bound to the textarea’s inputmode attribute.

* * JavaScript Info: * @property inputmode * @type String * */ @JsProperty String getInputmode(); /** *

Bound to the textarea’s inputmode attribute.

* * JavaScript Info: * @property inputmode * @type String * */ @JsProperty void setInputmode(String value); /** *

The maximum number of rows this element can grow to until it
scrolls. 0 means no maximum.

* * JavaScript Info: * @property maxRows * @type Number * */ @JsProperty double getMaxRows(); /** *

The maximum number of rows this element can grow to until it
scrolls. 0 means no maximum.

* * JavaScript Info: * @property maxRows * @type Number * */ @JsProperty void setMaxRows(double value); /** *

The maximum length of the input value.

* * JavaScript Info: * @property maxlength * @type Number * */ @JsProperty double getMaxlength(); /** *

The maximum length of the input value.

* * JavaScript Info: * @property maxlength * @type Number * */ @JsProperty void setMaxlength(double value); /** *

Bound to the textarea’s name attribute.

* * JavaScript Info: * @property name * @type String * */ @JsProperty String getName(); /** *

Bound to the textarea’s name attribute.

* * JavaScript Info: * @property name * @type String * */ @JsProperty void setName(String value); /** *

Bound to the textarea’s placeholder attribute.

* * JavaScript Info: * @property placeholder * @type String * */ @JsProperty String getPlaceholder(); /** *

Bound to the textarea’s placeholder attribute.

* * JavaScript Info: * @property placeholder * @type String * */ @JsProperty void setPlaceholder(String value); /** *

Bound to the textarea’s readonly attribute.

* * JavaScript Info: * @property readonly * @type String * */ @JsProperty String getReadonly(); /** *

Bound to the textarea’s readonly attribute.

* * JavaScript Info: * @property readonly * @type String * */ @JsProperty void setReadonly(String value); /** *

Set to true to mark the textarea as required.

* * JavaScript Info: * @property required * @type Boolean * */ @JsProperty boolean getRequired(); /** *

Set to true to mark the textarea as required.

* * JavaScript Info: * @property required * @type Boolean * */ @JsProperty void setRequired(boolean value); /** *

The initial number of rows.

* * JavaScript Info: * @property rows * @type Number * */ @JsProperty double getRows(); /** *

The initial number of rows.

* * JavaScript Info: * @property rows * @type Number * */ @JsProperty void setRows(double value); /** *

Returns the underlying textarea.

* * JavaScript Info: * @method textarea * */ void textarea(); /** *

Returns true if value is valid. The validator provided in validator
will be used first, if it exists; otherwise, the textarea‘s validity
is used.

* * JavaScript Info: * @method validate * */ void validate(); /** *

The value for this input, same as bindValue

* * JavaScript Info: * @property value * @type String * */ @JsProperty String getValue(); /** *

The value for this input, same as bindValue

* * JavaScript Info: * @property value * @type String * */ @JsProperty void setValue(String value); /** * * * JavaScript Info: * @property listeners * @type Object * */ @JsProperty JavaScriptObject getListeners(); /** * * * JavaScript Info: * @property listeners * @type Object * */ @JsProperty void setListeners(JavaScriptObject value); /** * * * JavaScript Info: * @method attached * @behavior PaperInput */ void attached(); /** * * * JavaScript Info: * @method detached * @behavior PaperInput */ void detached(); /** * * * JavaScript Info: * @method hasValidator * @behavior PaperToggleButton */ void hasValidator(); /** *

True if the last call to validate is invalid.

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

True if the last call to validate is invalid.

* * JavaScript Info: * @property invalid * @type Boolean * @behavior PaperToggleButton */ @JsProperty void setInvalid(boolean value); /** *

Name of the validator to use.

* * JavaScript Info: * @property validator * @type String * @behavior PaperToggleButton */ @JsProperty String getValidator(); /** *

Name of the validator to use.

* * JavaScript Info: * @property validator * @type String * @behavior PaperToggleButton */ @JsProperty void setValidator(String value); /** *

Namespace for this validator.

* * JavaScript Info: * @property validatorType * @type String * @behavior PaperToggleButton */ @JsProperty String getValidatorType(); /** *

Namespace for this validator.

* * JavaScript Info: * @property validatorType * @type String * @behavior PaperToggleButton */ @JsProperty void setValidatorType(String value); /** * * * JavaScript Info: * @property observers * @type Array * @behavior PaperToggleButton */ @JsProperty JsArray getObservers(); /** * * * JavaScript Info: * @property observers * @type Array * @behavior PaperToggleButton */ @JsProperty void setObservers(JsArray value); /** *

If true, the user cannot interact with this element.

* * JavaScript Info: * @property disabled * @type Boolean * @behavior PaperTab */ @JsProperty boolean getDisabled(); /** *

If true, the user cannot interact with this element.

* * JavaScript Info: * @property disabled * @type Boolean * @behavior PaperTab */ @JsProperty void setDisabled(boolean value); /** *

If true, the element currently has focus.

* * JavaScript Info: * @property focused * @type Boolean * @behavior PaperTab */ @JsProperty boolean getFocused(); /** *

If true, the element currently has focus.

* * JavaScript Info: * @property focused * @type Boolean * @behavior PaperTab */ @JsProperty void setFocused(boolean value); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy