method Location.assign Location.assign(url: string): void Navigates to the given URL. Cannot be set. Parameters url: string Return Type void