Page Router
This node acts as a generic navigation trigger.
The Page Router (or Router Navigate) node provides a simplified interface for navigation.
The Page Router node is a simplified version of the Navigate node, focusing on basic routing tasks. It allows navigation to a target page within a specific router context.
Inputs
General
| Data | Description |
|---|---|
| Target | The target page or route to navigate to. |
| Router | The specific router instance to use (if multiple routers exist). |
| Open in new tab | Boolean. Default: false. |
Actions
| Signal | Description |
|---|---|
| Navigate | Triggers the navigation. |
Outputs
Events
| Signal | Description |
|---|---|
| Navigated | Triggered when navigation completes. |
Usage
Use this for simple links where you don't need the advanced transition control or back-result handling of the full Navigate node.
Example Use Cases
- Sidebar Menu: Simple links to "Home", "Settings", "Profile".
- Footer Links: "Terms of Service", "Privacy Policy".
Detailed Behavior
- Router Context: It uses the
RouterHandlersingleton to find the correct router and perform the navigation. - Dynamic Inputs: Like other navigation nodes, it may generate dynamic inputs for page parameters if the target is known and requires them.
Troubleshooting
- No Navigation: Ensure the Router input is set correctly if you have a complex app with nested routers. Usually, leaving it default works for the main app navigation.