Skip to content

Location

Values

assign

Navigates to the given URL. Read more on MDN

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

Parameters

WebAPI.DOMAPI.location string

Return type

unit

reload

Reloads the current page. Read more on MDN

let reload: WebAPI.DOMAPI.location => unit

Parameters

WebAPI.DOMAPI.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: (WebAPI.DOMAPI.location, string) => unit

Parameters

WebAPI.DOMAPI.location string

Return type

unit