@trevorhanus/animatable
TypeScript icon, indicating that this package has built-in type declarations

0.1.5 • Public • Published

Animatable

An observable property that uses the laws of physics to move.

Usage

import { autorun } from 'mobx';
import { animatable } from '@trevorhanus/animatable';

const width = animatable(0);

function printWidth() {
    console.log(width.value);
}

Readme

Keywords

none

Package Sidebar

Install

npm i @trevorhanus/animatable

Weekly Downloads

1

Version

0.1.5

License

MIT

Unpacked Size

40 kB

Total Files

29

Last publish

Collaborators

  • trevorhanus