0.0.2 • Published 10 years ago

mojo-animator v0.0.2

Weekly downloads
3
License
ISC
Repository
github
Last release
10 years ago

Mojo Animator Build Status

Mojo animator is a plugin that leverages the browsers native requestAnimationFrame function to update the layout. It's used in paperclip, and mojo-views.

var Application = require("mojo-application");

var MyApplication = Application.extend({
  registerPlugins: function () {
    this.use(require("mojo-animator"));
  }
});

var app = new MojoApplication();

// calls requestAnimationFrame
app.animate({
  update: function () {
    // do something
  }
})
0.0.2

10 years ago

0.0.1

10 years ago