1.3.0 • Published 3 years ago

repeated-animation-frame v1.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

repeated-animation-frame

Created with TS-Standard - Typescript Standard Style Guide

Repeatedly call a function or async function with request animation frame.

Npm Package

repeated-animation-frame

Example

import { repeatedAnimationFrame } from 'repeated-animation-frame'

const stop = repeatedAnimationFrame(() => {
  // Animate something idk
  // This function keeps on getting called
})

// If you want to stop
stop()

Docs

https://chocolateloverraj.github.io/repeated-animation-frame/

1.3.0

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago