iron-autogrow-textarea

WebJar for iron-autogrow-textarea

License

License

BSD 3-Clause
Categories

Categories

Auto Application Layer Libs Code Generators
GroupId

GroupId

org.webjars.bowergithub.polymerelements
ArtifactId

ArtifactId

iron-autogrow-textarea
Last Version

Last Version

2.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

iron-autogrow-textarea
WebJar for iron-autogrow-textarea
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/PolymerElements/iron-autogrow-textarea

Download iron-autogrow-textarea

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bowergithub.polymerelements/iron-autogrow-textarea/ -->
<dependency>
    <groupId>org.webjars.bowergithub.polymerelements</groupId>
    <artifactId>iron-autogrow-textarea</artifactId>
    <version>2.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bowergithub.polymerelements/iron-autogrow-textarea/
implementation 'org.webjars.bowergithub.polymerelements:iron-autogrow-textarea:2.2.0'
// https://jarcasting.com/artifacts/org.webjars.bowergithub.polymerelements/iron-autogrow-textarea/
implementation ("org.webjars.bowergithub.polymerelements:iron-autogrow-textarea:2.2.0")
'org.webjars.bowergithub.polymerelements:iron-autogrow-textarea:jar:2.2.0'
<dependency org="org.webjars.bowergithub.polymerelements" name="iron-autogrow-textarea" rev="2.2.0">
  <artifact name="iron-autogrow-textarea" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bowergithub.polymerelements', module='iron-autogrow-textarea', version='2.2.0')
)
libraryDependencies += "org.webjars.bowergithub.polymerelements" % "iron-autogrow-textarea" % "2.2.0"
[org.webjars.bowergithub.polymerelements/iron-autogrow-textarea "2.2.0"]

Dependencies

compile (4)

Group / Artifact Type Version
org.webjars.bowergithub.polymerelements : iron-behaviors jar [1,3)
org.webjars.bowergithub.polymerelements : iron-flex-layout jar [1,3)
org.webjars.bowergithub.polymerelements : iron-validatable-behavior jar [1,3)
org.webjars.bowergithub.polymer : polymer jar [1.9,3)

Project Modules

There are no modules declared in this project.

Published on NPM Build status Published on webcomponents.org

<iron-autogrow-textarea>

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.

See: Documentation, Demo.

Usage

Installation

npm install --save @polymer/iron-autogrow-textarea

In an html file

<html>
  <head>
    <script type="module">
      import '@polymer/iron-autogrow-textarea/iron-autogrow-textarea.js';
    </script>
  </head>
  <body>
    <iron-autogrow-textarea></iron-autogrow-textarea>
  </body>
</html>

In a Polymer 3 element

import {PolymerElement, html} from '@polymer/polymer';
import '@polymer/iron-autogrow-textarea/iron-autogrow-textarea.js';

class SampleElement extends PolymerElement {
  static get template() {
    return html`
      <iron-autogrow-textarea></iron-autogrow-textarea>
    `;
  }
}
customElements.define('sample-element', SampleElement);

Contributing

If you want to send a PR to this element, here are the instructions for running the tests and demo locally:

Installation

git clone https://github.com/PolymerElements/iron-autogrow-textarea
cd iron-autogrow-textarea
npm install
npm install -g polymer-cli

Running the demo locally

polymer serve --npm
open http://127.0.0.1:<port>/demo/

Running the tests

polymer test --npm
org.webjars.bowergithub.polymerelements

Versions

Version
2.2.0
2.1.1
2.1.0
1.0.15