queryParams Property Readonly
A signal state that represents the query params
API
readonly queryParams: SignalStateType<Q>;
Example
import {routeGroup} from '@bitfiber/ng/rx';
// Provides a group of signal states for managing the route
const route = routeGroup<{id: number; type: string}>({
initialQueryParams: {id: 0, type: 'all'},
}, ({queryParams}) => {
queryParams
// Performs a tap callback each time the query params change
.tap(data => console.log(data));
});