1 2 3 4 5 6 7 8 9 10 11
import { Component, Input } from '@angular/core' import { Video } from '../shared-main' @Component({ selector: 'my-video-views-counter', styleUrls: [ './video-views-counter.component.scss' ], templateUrl: './video-views-counter.component.html' }) export class VideoViewsCounterComponent { @Input() video: Video }