• Redirects to the specified URL.

    Parameters

    • url: string

      the URL to redirect to

    • Optional target: string

      the window name to show the content of the URL. If omitted, it will replace the current content.

    Returns void