3.0.1 • Published 9 months ago

@schaman/angular-router-params v3.0.1

Weekly downloads
-
License
-
Repository
github
Last release
9 months ago

@schaman/angular-router-params

Get router parameters in the easiest way.

Provide, inject and use the service.

@Component({
  /* ... */
  providers: [SchamanRouterParams],
})
class ExampleComponent {
  public id$ = this.routerParams.id$;
  public carId$ = this.routerParams['carId'];
  public constructor(private routerParams: SchamanRouterParams) {}
}

Browser-compatibility

The library uses Proxy. See compatibility.

Running unit tests

Run nx test angular-router-params to execute the unit tests.

3.0.1

9 months ago

3.0.0

10 months ago

2.0.0

1 year ago

1.0.0

1 year ago

0.1.0

1 year ago