Function documentReady

  • Run callback when document was loaded.

    Parameters

    • callback: (() => void)
        • (): void
        • Returns void

    Returns void