src/app/components/homepage/homepage.component.ts
Homepage Component populates the landing page with movie lists.
Iterates over the list of GenreIds to create a list of movies for each one.
| selector | app-homepage |
| styleUrls | homepage.component.css |
| templateUrl | homepage.component.html |
| genreIds |
genreIds: |
Default value: GenreIds
|
import { Component } from '@angular/core';
import { GenreIds } from 'src/lib/types/Genre';
/**
* Homepage Component populates the landing page with movie lists.
* Iterates over the list of GenreIds to create a list of movies for each one.
*/
@Component({
selector: 'app-homepage',
templateUrl: './homepage.component.html',
styleUrls: ['./homepage.component.css']
})
export class HomepageComponent {
genreIds = GenreIds
}