Docs (4.0.0)

userNavigation

Sets the provided location immediately, simulating external navigation.

userNavigation(pageId: string, detail?: string): void

Notes

  • The provided target is added to the location history for the application context, and is not checked for correctness.
  • To simulate programmatic navigation behavior, use the navigateAsync() method instead.

Related