Skip to content

Instantly share code, notes, and snippets.

@michael-mckenna
Created June 5, 2020 18:55
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 michael-mckenna/2d1ce87c027dc62f6526d721506f7434 to your computer and use it in GitHub Desktop.
Save michael-mckenna/2d1ce87c027dc62f6526d721506f7434 to your computer and use it in GitHub Desktop.
Channel List Component
channels$: Observable<Channel[]>;
selectedChannel$: Observable<Channel>;
constructor(public channelService: ChannelService) {
this.channels$ = channelService.channelsChanged$;
this.selectedChannel$ = channelService.selectedChannel$;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment