Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Component({
- selector: 'movie-showings-cmp',
- templateUrl: './movie-showings.component.html'
- })
- export class MovieShowingsComponent {
- public movieTitle: string;
- public showings: string[];
- private getShowings = new Subject<string>();
- constructor(private backend: Backend) {
- }
- showShowings(movieTitle: string) {
- this.movieTitle = movieTitle;
- this.getShowings.next(movieTitle);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement