• Calls the specified function when all scripts are loaded, the whole DOM is processed by our parser and all controls are initialized. I.e. at this point everything is ready to be used. So both window.onLoad and whenLoaded() events occur before this one. If called after this event, the callback function is executed immediately.

    Parameters

    • callback: any

      Callback function to be called.

    Returns void

    Method

    whenReady