Skip to content

Instantly share code, notes, and snippets.

@adrianfaciu
Last active May 6, 2018 18:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adrianfaciu/db069c355e79e93f25ec27a369782e9f to your computer and use it in GitHub Desktop.
Save adrianfaciu/db069c355e79e93f25ec27a369782e9f to your computer and use it in GitHub Desktop.
export class DocumentContainer {
companyName$: Observable<string>;
documentStatus$: Observable<number>;
constructor(
private store: Store<AppStore.AppState>,
) {
this.companyName$ = this.store.select(detailsSelector.getDocumentCompanyName);
this.documentStatus$ = this.store.select(detailsSelector.getDocumentStatus);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment