How to use the routeshub.getRegisteredUnits function in routeshub

To help you get started, we’ve selected a few routeshub examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github maktarsis / concept-store-platform / src / app / core / components / header / header.component.ts View on Github external
public ngOnInit(): void {
    this.hub = getRegisteredUnits();
    this.isVisible = new BehaviorSubject(true);
    this.unsubscribe$ = new Subject();

    this.store
      .select(fromStore.getUser)
      .pipe(takeUntil(this.unsubscribe$))
      .subscribe((user: User) => (this.user = user));
  }

routeshub

A route management library and pattern for Angular

MIT
Latest version published 3 years ago

Package Health Score

48 / 100
Full package analysis