Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. @Component({
  2. selector: 'movie-showings-cmp',
  3. templateUrl: './movie-showings.component.html'
  4. })
  5. export class MovieShowingsComponent {
  6. public movieTitle: string;
  7. public showings: string[];
  8.  
  9. private getShowings = new Subject<string>();
  10.  
  11. constructor(private backend: Backend) {
  12. }
  13.  
  14. showShowings(movieTitle: string) {
  15. this.movieTitle = movieTitle;
  16. this.getShowings.next(movieTitle);
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement