All Projects → scottcgi → Mojojs Animation

scottcgi / Mojojs Animation

Licence: mit
A lightweight and powerful javascript Animation engine.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Mojojs Animation

React Border Wrapper
A wrapper for placing elements along div borders.
Stars: ✭ 147 (-25.38%)
Mutual labels:  javascript-library
Currency.js
A javascript library for handling currencies
Stars: ✭ 2,214 (+1023.86%)
Mutual labels:  javascript-library
Library App
Detailed Ember.js Octane v3.21 tutorial for absolute beginners. https://yoember.com
Stars: ✭ 189 (-4.06%)
Mutual labels:  javascript-library
Green Audio Player
Audio Player javascript library
Stars: ✭ 151 (-23.35%)
Mutual labels:  javascript-library
Mag.js
MagJS - Modular Application Glue
Stars: ✭ 157 (-20.3%)
Mutual labels:  javascript-library
Ui Components
Most used UI Components — of web applications. Curated/Most loved components for web development
Stars: ✭ 175 (-11.17%)
Mutual labels:  javascript-library
Typeit
The most versatile JavaScript typewriter effect library on the planet.
Stars: ✭ 2,406 (+1121.32%)
Mutual labels:  javascript-library
Micron
a [μ] microInteraction library built with CSS Animations and controlled by JavaScript Power
Stars: ✭ 2,252 (+1043.15%)
Mutual labels:  javascript-library
React Letter
✉️ Display e-mails in your React.js projects. (Targets Gmail rendering.)
Stars: ✭ 164 (-16.75%)
Mutual labels:  javascript-library
Juniper
🍇 Edit and execute code snippets in the browser using Jupyter kernels
Stars: ✭ 189 (-4.06%)
Mutual labels:  javascript-library
React Formik Ui
A simple component library, composed out of pure HTML form elements to make your live easier composing forms with Formik and React
Stars: ✭ 154 (-21.83%)
Mutual labels:  javascript-library
Fat
Web's fastest and most lightweight animation tool.
Stars: ✭ 157 (-20.3%)
Mutual labels:  javascript-library
Remotestorage.js
⬡ JavaScript client library for integrating remoteStorage in apps
Stars: ✭ 2,155 (+993.91%)
Mutual labels:  javascript-library
Vivid
a JavaScript library which is built to easily customize and use the SVG Icons with a blaze.
Stars: ✭ 1,797 (+812.18%)
Mutual labels:  javascript-library
Geopackage Js
GeoPackage JavaScript Library
Stars: ✭ 191 (-3.05%)
Mutual labels:  javascript-library
Javali
🐗 Create a modern JavaScript library that uses ES6 + Jest
Stars: ✭ 144 (-26.9%)
Mutual labels:  javascript-library
Semantic Ui React
The official Semantic-UI-React integration
Stars: ✭ 12,561 (+6276.14%)
Mutual labels:  javascript-library
Asn1.js
ASN1js is a pure JavaScript library implementing a full ASN.1 BER decoder and encoder.
Stars: ✭ 196 (-0.51%)
Mutual labels:  javascript-library
Sharect
🔗 A lightweight JavaScript library to let users share their text selections to social networks.
Stars: ✭ 192 (-2.54%)
Mutual labels:  javascript-library
Tincanjs
JavaScript library for the Experience API (Tin Can API)
Stars: ✭ 181 (-8.12%)
Mutual labels:  javascript-library

MojoJS-Animation

MojoJS-Animation is a very lightweight and powerful javascript Animation engine.

It also has very simple, beautiful, easy-to-understand source code and "Make-You-Happy" API.

The Online Demo shows the effect and code usage.

License

MojoJS-Animation is licensed under the MIT License.

Features

  • Support CSS and Transform properties animation.
  • Support queue and concurrent animation.
  • Support a group of elements animation.
  • Support delay animation.
  • Support complete callback on animate (not on element).
  • Support configurable chained complete callbacks.
  • Support fully compatible standard easing effect and more.
    linear
    quadraticIn,   quadraticOut,   quadraticInOut
    cubicIn,       cubicOut,       cubicInOut
    quarticIn,     quarticOut,     quarticInOut
    quinticIn,     quinticOut,     quinticInOut
    exponentialIn, exponentialOut, exponentialInOut
    sineIn,        sineOut,        sineInOut
    circularIn,    circularOut,    circularInOut
    elasticIn,     elasticOut,     elasticInOut
    backIn,        backOut,        backInOut,  backInExponentialOut, backInElasticOut
    bounceIn,      bounceOut,      bounceInOut,
    

Code Structure

MojoJS-Animation Code Structure

How to use

/**
 * Create animation object.
 *
 * @param {String (selector) | Array<HTMLElement> | NodeList | HTMLElement} targets
 */
 MojoJS.createAnimation(targets)


/**
 * Animate with config.
 *
 * the variable params is optional and no order limit, they can be:
 * 
 * duration (Number)  : animation time.
 * isQueue  (Boolean) : inqueue or concurrent.                       
 * complete (Function): complete callback.                       
 * args     (Array)   : complete function args.
 * easing   (String)  : easing function name.
 * config   (Object)  : variable params in object and three more settings:
 *   {
 *       id       (String) : the animation id.
 *       appendTo (String) : callback when animation of this id is completed.
 *       delay    (Number) : delay time before animation starts.
 *   }  
 * 
 * @param  {Object} animStyle 
 * @return {Object} animation
 */
 animation.animate(animStyle[, duration, isQueue, complete, args, easing, config]);


/**
 * The animation complete callback function.
 *
 * args    (Array)     : apply from [config.args].
 * thisArg (Animation) : apply from current animation.
 */
 function completeCallback([arg0, arg1, ...]);

Support

If the source code is useful for you, maybe you could buy me a coffee via Paypal-0.99 ☕️

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].