Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Small JavaScript library for sprite based animations and panning.
JavaScript
Tag: v2.1.0

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
dist
src
.editorconfig
.jshintrc
CONTRIBUTING.md
Gruntfile.js
README.md
component.json
motio.jquery.json
package.json

README.md

Motio

Small JavaScript library for simple but powerful sprite based animations and panning.

Motio takes an element and animates its background position to create an animation effect. All is super optimized for speed and chained to the requestAnimationFrame, with a polyfill for older browsers without it.

That being said, animating the element background is not the fastest possible way how to do this (canvas solutions are a lot faster), but it is sure as hell the most simple one, and compatible with everything from IE6 and up.

Dependencies

Motio has no dependencies, but there is an optional Motio jQuery plugin extension available.

Compatibility

Works everywhere.

Changelog

Motio upholds the Semantic Versioning Specification.

Documentation

  • Markup - how should the HTML & CSS look like
  • Calling - how to call Motio
  • Options - all available options
  • Properties - accessible Motio object properties
  • Methods - all available methods, and how to use them
  • Events - all available events, and how to register callbacks

Contributing

Please, read the Contributing Guidelines for this project.

Something went wrong with that request. Please try again.