Skip to content

Location

Values

assign

Navigates to the given URL. Read more on MDN

let assign: (DomTypes.location, string) => unit

Parameters

DomTypes.location string

Return type

unit

reload

Reloads the current page. Read more on MDN

let reload: DomTypes.location => unit

Parameters

DomTypes.location

Return type

unit

replace

Removes the current page from the session history and navigates to the given URL. Read more on MDN

let replace: (DomTypes.location, string) => unit

Parameters

DomTypes.location string

Return type

unit