Options
All
  • Public
  • Public/Protected
  • All
Menu

Module Browser/requestFrame

Index

Functions

cancelFrame

  • cancelFrame(id: number): void
  • Wrapper around cancelAnimationFrame to avoid global namespace pollution

    Parameters

    • id: number

    Returns void

requestFrame

  • requestFrame(callback: FrameRequestCallback): number
  • Wrapper around a requestAnimationFrame polyfill to avoid global namespace pollution

    Parameters

    • callback: FrameRequestCallback

    Returns number

Generated using TypeDoc