Skip to Content

excludedParams Property Optional

A list of route param or query param keys that should be excluded from the route

API

excludedParams?: (keyof (Q & P))[];

Example

import {routeGroup} from '@bitfiber/ng/rx'; // Provides a route group const route = routeGroup<{id: number; type: string}>({ initialParams: {id: 0, type: 'all'}, // Excludes specific route params and query params from the route excludedParams: ['type'], });
Last updated on