• Our version of requestAnimationFrame which respects window visibility and drops calling to 2 calls pers second when window is not visible and reduce to 30FPS when window is not active.

    Parameters

    • Optional callback: procedure

      Function to be called

    Returns number

    Method

    requestAnimationFrameMM