Skip to main content

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

DataDescription
TargetThe target page or route to navigate to.
RouterThe specific router instance to use (if multiple routers exist).
Open in new tabBoolean. Default: false.

Actions

SignalDescription
NavigateTriggers the navigation.

Outputs

Events

SignalDescription
NavigatedTriggered 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

  1. Sidebar Menu: Simple links to "Home", "Settings", "Profile".
  2. Footer Links: "Terms of Service", "Privacy Policy".

Detailed Behavior

  • Router Context: It uses the RouterHandler singleton 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.