femtotween

WebJar for femtotween

Лицензия

Лицензия

MIT
Группа

Группа

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

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

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

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

1.1.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

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

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

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

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

https://github.com/pearofducks/femtoTween

Скачать femtotween

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

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

Зависимости

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

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

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

femtoTween

femtoTween's goal is to provide just enough tweening functionality to cover basic use cases. Through this primary goal, it should also be one of the smallest tweening libraries (less than 1k un-minified even).

yarn add femtotween
import { tween } from 'femtotween'
  • Minimal API can be grok'd in seconds
  • Supports a done callback - especially useful for Vue.js transitions via JS hooks
  • Supports and provides additional easing functions
more

see site for example and API

bundling & production

If you're shipping to es5 environments, you'll need to either:

  • source the es5-browser-build :: e.g. import { tween } from 'femtotween/dist/femtoTween.umd.js'
  • or enable transpiling of .esm.js files in your bundler

This module ships es6 module and code in the femtoTween.esm.js file - both for convenience to those shipping more modern builds, as well as to ensure the smallest (and least opinionated) final build.

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

Версия
1.1.2
1.1.0