1 import { Component, Input, ViewChild } from '@angular/core'
3 import { ModalDirective } from 'ngx-bootstrap/modal'
5 import { Video } from '../shared'
8 selector: 'my-video-magnet',
9 templateUrl: './video-magnet.component.html'
11 export class VideoMagnetComponent {
12 @Input() video: Video = null
14 @ViewChild('modal') modal: ModalDirective