initialize Method

Initiates the group and all its items.

In most cases, this method will be called automatically by a group or store managing the group, so you generally don’t need to call it manually unless you have a specific reason to do so

@returns this
The instance of the current group, allowing for method chaining

API

initialize(): this;

Example

import {routeGroup} from '@bitfiber/ng/rx';
 
// Creates a route group
const route = routeGroup<{id: number; type: string}>({
  initialParams: {id: 0, type: 'all'},
});
 
// Initializes the group and all items within the group
route.initialize();