@polymer/iron-autogrow-textarea

WebJar for @polymer/iron-autogrow-textarea

License

License

BSD 3-Clause
Categories

Categories

Auto Application Layer Libs Code Generators
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

polymer__iron-autogrow-textarea
Last Version

Last Version

3.0.3
Release Date

Release Date

Type

Type

jar
Description

Description

@polymer/iron-autogrow-textarea
WebJar for @polymer/iron-autogrow-textarea
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

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

Download polymer__iron-autogrow-textarea

How to add to project

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

Dependencies

compile (4)

Group / Artifact Type Version
org.webjars.npm : polymer__iron-behaviors jar [3.0.0-pre.26,4)
org.webjars.npm : polymer__iron-flex-layout jar [3.0.0-pre.26,4)
org.webjars.npm : polymer__iron-validatable-behavior jar [3.0.0-pre.26,4)
org.webjars.npm : polymer__polymer jar [3.0.0,4)

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.npm

Versions

Version
3.0.3
3.0.1
3.0.0-pre.1