Skip to content

Instantly share code, notes, and snippets.

@FunnyGhost
Created December 3, 2019 15:51
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 FunnyGhost/cccc8859464abca656e6512699cac362 to your computer and use it in GitHub Desktop.
Save FunnyGhost/cccc8859464abca656e6512699cac362 to your computer and use it in GitHub Desktop.
@Component({
selector: "kpd-favorite-movie",
templateUrl: "./favorite-movie.component.html",
styleUrls: ["./favorite-movie.component.scss"],
changeDetection: ChangeDetectionStrategy.OnPush
})
export class FavoriteMovieComponent {
@Input() favoriteMovie: Movie;
@Output() deleteMovie = new EventEmitter<Movie>();
constructor() {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment