onNavigate
Handles a
Navigateevent emitted by the current view.
protected
protected onNavigate(e: ManagedEvent<ManagedObject & { getNavigationTarget?: () => NavigationTarget; }>): Promise<void> | undefined
Notes
- This method is called when a view object emits the
Navigateevent. Such events are emitted from views that include agetNavigationTargetmethod, such as UIButton. - If the navigation target only includes a
detailproperty, thepageIdis set to the current activity’s navigationPageId. - This method calls navigateAsync() in turn, which may be overridden.
Related
- class ActivityA class that represents a part of the application that can be activated when the user navigates to it.
