@pluginjs/easing
v0.8.9
Published
A workflow for modern frontend development.
Downloads
137
Readme
Easing
easing
is a utility JavaScript library for animation effect.
Introduction
Installation
Yarn
yarn add @pluginjs/easing
NPM
npm i @pluginjs/easing
Getting Started
CDN:
Development:
<script src="https://unpkg.com/@pluginjs/easing/dist/easing.js"></script>
Production:
<script src="https://unpkg.com/@pluginjs/easing/dist/easing.min.js"></script>
API
get
Parameters
| Name | Type | Description |
|||-|
| name | String
| easings name |
bezier
Parameters
| Name | Type | Description | |||-| | mX1 | Number | bezier | | mY1 | Number | bezier | | mX2 | Number | bezier | | mY2 | Number | bezier |
Returns
| Name | Type | Description |
|||-|
| BezierEasing | String
| Bezier easing |
register
Parameters
| Name | Type | Description |
|||-|
| name | String
| easings name |
| mX1 | Number | bezier |
| mY1 | Number | bezier |
| mX2 | Number | bezier |
| mY2 | Number | bezier |
Browser support
Tested on all major browsers.
| IE / Edge | Firefox | Chrome | Safari | Opera | | --------- | --------- | --------- | --------- | --------- | | IE11, Edge| last 2 versions| last 2 versions| last 2 versions| last 2 versions|
License
@pluginjs/easing is Licensed under the GPL-v3 license.
If you want to use @pluginjs/easing project to develop commercial sites, themes, projects, and applications, the Commercial license is the appropriate license. With this option, your source code is kept proprietary.
For purchase an Commercial License, contact us [email protected].
Copyright
Copyright (C) 2022 Creation Studio Limited.