Skip to Content

initialParams Property Optional

Initial values for the route params

API

initialParams?: P;

Example

import {routeGroup} from '@bitfiber/ng/rx'; // Provides a route group const route = routeGroup<{id: number; type: string}>({ // Sets the initial values for route params initialParams: {id: 0, type: 'all'}, });
Last updated on