• Replace the URL visible in the browser, also replacing the current URL in the back/forward browser-history. Doesn't actually redirect the page, just updates the URL.

    Parameters

    • url: string

      Absolute or relative URL to redirect to

    • Optional queryString: QueryStringObject

      Object with all keys to add to the querystring

    Returns void

    Example

    import { url } from "@hboictcloud/api";

    url.replace("profile.html", {
    id: 15
    });

Generated using TypeDoc