aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/video/video-feed.component.ts
blob: 41257ca99a7212c33b6fcf2cdda3d3ce96ec68a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { Component, Input, OnChanges, SimpleChanges } from '@angular/core'

@Component({
  selector: 'my-video-feed',
  styleUrls: [ './video-feed.component.scss' ],
  templateUrl: './video-feed.component.html'
})
export class VideoFeedComponent implements OnChanges {
  @Input() syndicationItems

  ngOnChanges (changes: SimpleChanges) {
    this.syndicationItems = changes.syndicationItems.currentValue
  }
}