# mojo-animator

> mojo-animator =============

Latest version **0.0.2** (published 2014-09-06) · ISC license · 0 weekly downloads

## Install

```sh
npm install mojo-animator
pnpm add mojo-animator
yarn add mojo-animator
bun add mojo-animator
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2014-09-06 |
| First published | 2014-06-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | architectd |

## Links

- npm: https://www.npmjs.com/package/mojo-animator
- Repository: https://github.com/classdojo/mojo-animator
- Issues: https://github.com/classdojo/mojo-animator/issues
- npm.io page: https://npm.io/package/mojo-animator

## Dependencies (1)

- [protoclass](https://npm.io/package/protoclass.md) 0.0.5

## Recent versions

- 0.0.2 (latest) — 2014-09-06
- 0.0.1 — 2014-06-04

## README

## Mojo Animator [![Build Status](https://travis-ci.org/classdojo/mojo-animator.svg)](https://travis-ci.org/classdojo/mojo-animator)

Mojo animator is a plugin that leverages the browsers native `requestAnimationFrame` function to update the layout. It's used in [paperclip](github.com/classdojo/paperclip.js), and [mojo-views](https://github.com/classdojo/mojo-views).

```javascript
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
  }
})
```

---
_Source: https://npm.io/package/mojo-animator · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
