navigationPageId
The page ID associated with this activity, to match the (first part of the) navigation path.
navigationPageId?: string
Notes
- If this property is set to a string, the activity will be activated automatically when the first part of the current path matches this value, and deactivated when it doesn’t.
- The activity must be added to the activity context using app.addActivity(), or attached to an existing activity, for the navigation path to be matched.
- To match the root path (
/
), set this property to an empty string
Related
- class ActivityA class that represents a part of the application that can be activated when the user navigates to it.