You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import { Component, OnInit, Input } from '@angular/core';
|
|
|
|
@Component({
|
|
|
|
selector: 'app-get-out-of-line-details',
|
|
|
|
templateUrl: './get-out-of-line-details.component.html',
|
|
|
|
styleUrls: ['./get-out-of-line-details.component.scss']
|
|
|
|
})
|
|
|
|
export class GetOutOfLineDetailsComponent implements OnInit {
|
|
|
|
|
|
|
|
@Input() data: any
|
|
|
|
|
|
|
|
constructor() { }
|
|
|
|
|
|
|
|
|
|
|
|
imgUrl: string
|
|
|
|
vedioUrl: string
|
|
|
|
ngOnInit(): void {
|
|
|
|
this.imgUrl = this.data.violateImage
|
|
|
|
this.vedioUrl = this.data.violateVideo
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
selectedType: string = 'img'
|
|
|
|
contentType(type) {
|
|
|
|
this.selectedType = type
|
|
|
|
}
|
|
|
|
}
|