onNavigate()
Handles a
Navigateevent emitted by the current view.
protected onNavigate(
e: ObservableEvent<
ObservableObject & {
getNavigationTarget?: () => StringConvertible;
}
>,
): false | Promise<void>;
Notes
- This method is called when a view object emits the
Navigateevent. Such events are emitted from views that include agetNavigationTargetmethod, such as UIButton. - This method calls navigateAsync() in turn. Override that method rather than this one to handle navigation differently.
Related
class Activity
A class that represents a part of the application that can be activated when the user navigates to it.
