Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 578 Bytes

File metadata and controls

21 lines (12 loc) · 578 Bytes

Module DOM.RequestAnimationFrame

This module exposes a polyfilled requestAnimationFrame function.

requestAnimationFrame_

requestAnimationFrame_ :: forall a eff. Window -> Eff (dom :: DOM | eff) a -> Eff (dom :: DOM | eff) Unit

Request the specified action be called on the next animation frame, specifying the Window object.

requestAnimationFrame

requestAnimationFrame :: forall a eff. Eff (dom :: DOM | eff) a -> Eff (dom :: DOM | eff) Unit

Request the specified action be called on the next animation frame.