params
The current route parameters.
params: Record<string, string>;
Notes
- After matching a route pattern with parameters (e.g.
users/:userId), the activity router makes the extracted parameter values available as properties on this object. - This object is replaced on each route match (not mutated).
- For wildcard routes, the remaining path is captured as the
pathproperty (may be an empty string when the path/is matched as*).
Related
class ActivityRouter
A class that manages activation and deactivation of activities, with support for path-based routing.
