autosize

WebJar for autosize

Лицензия

Лицензия

MIT
Категории

Категории

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

Группа

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

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

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

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

4.0.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

autosize
WebJar for autosize
Ссылка на сайт

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

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

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

https://github.com/jackmoore/autosize

Скачать autosize

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

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

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

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

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

Summary

Autosize is a small, stand-alone script to automatically adjust textarea height to fit text.

Demo

Full documentation and a demo can be found at jacklmoore.com/autosize

Install via NPM

npm install autosize

Browser compatibility

Chrome Firefox IE Safari iOS Safari Android Opera Mini Windows Phone IE
yes yes 9 yes yes 4 ? 8.1

Usage

The autosize function accepts a single textarea element, or an array or array-like object (such as a NodeList or jQuery collection) of textarea elements.

// from a NodeList
autosize(document.querySelectorAll('textarea'));

// from a single Node
autosize(document.querySelector('textarea'));

// from a jQuery collection
autosize($('textarea'));

Released under the MIT License

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

Версия
4.0.2
3.0.21
3.0.20
3.0.15
3.0.13
2.0.0
1.18.17