@polymer/iron-autogrow-textarea

WebJar for @polymer/iron-autogrow-textarea

Лицензия

Лицензия

BSD 3-Clause
Категории

Категории

Auto Библиотеки уровня приложения Code Generators
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

polymer__iron-autogrow-textarea
Последняя версия

Последняя версия

3.0.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

@polymer/iron-autogrow-textarea
WebJar for @polymer/iron-autogrow-textarea
Ссылка на сайт

Ссылка на сайт

https://www.webjars.org
Система контроля версий

Система контроля версий

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

Скачать polymer__iron-autogrow-textarea

Как подключить последнюю версию

<!-- 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"]

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
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)

Модули Проекта

Данный проект не имеет модулей.

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

Версии библиотеки

Версия
3.0.3
3.0.1
3.0.0-pre.1