@act/animation

Animation tools for Act

Usage no npm install needed!

<script type="module">
  import actAnimation from 'https://cdn.skypack.dev/@act/animation';
</script>

README

Act
A simple reactive front-end framework

 


Act animation

Act animation hello world:

import main, { spring } from '@act/animation'

const view = (val) =>
  ['.redBox', { style: { left: val * 400 } }]

main(view, { subscriptions: { spring } })

Example with manageable history:

More

The documentation for this module is part of Act's docs.