Docs (4.0.0)
class NavigationController method

set

Sets the current location.

set(pageId: string, detail?: string): this

Notes

  • This method doesn’t affect the navigation history or platform-specific navigation. To navigate to a new location, use navigateAsync() instead.

Errors

  • This method throws an error if the page ID is invalid (i.e. contains slashes / or \, or starts with a dot .).

Related

  • class NavigationControllerAn object that encapsulates the current location within the application navigation stack, part of the global application context.