Docs (4.0.0)
class Activity method

navigateAsync

Handles navigation to a provided navigation target or path, from the current activity.

protected

protected navigateAsync(target: NavigationTarget): Promise<void>

Notes

  • This method is called automatically by onNavigate when a view object emits the Navigate event while this activity is active.
  • The default implementation directly calls NavigationController.navigateAsync(). Override this method to handle navigation differently, e.g. to replace the current path for detail view activities.

Related

  • class ActivityA class that represents a part of the application that can be activated when the user navigates to it.