sell

WebJar for sell

Лицензия

Лицензия

MIT
Группа

Группа

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

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

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

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

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

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

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

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

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

https://github.com/bevacqua/sell

Скачать sell

Имя Файла Размер
sell-1.0.0.pom
sell-1.0.0.jar 6 KB
sell-1.0.0-sources.jar 22 bytes
sell-1.0.0-javadoc.jar 22 bytes
Обзор

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

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

Зависимости

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

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

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

Sell

Cross-browser text input selection made simple

Install

npm install sell --save

Usage

Note that el must be either an <input> element or a <textarea>.

sell(el)

Returns an object like { start: 1, end: 3 } indicating where the selection starts and ends.

sell(el, p)

Sets text selection on element el to a range p, like the ones returned from sell(el). Note that you can set either start or end to the special 'end' value, in which case el.value.length will be used.

Related

For general-purpose text selection outside of inputs, see seleccion

License

MIT

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

Версия
1.0.0