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.
Ombi/src/Ombi/ClientApp/src/app/media-details/components/shared/social-icons/social-icons.component.ts

31 lines
825 B

import { Component, Inject, Input, Output, EventEmitter } from "@angular/core";
@Component({
selector: "social-icons",
templateUrl: "./social-icons.component.html",
styleUrls: ["./social-icons.component.scss"]
})
export class SocialIconsComponent {
@Input() homepage: string;
@Input() theMoviedbId: number;
@Input() hasTrailer: boolean;
@Input() imdbId: string;
@Input() tvdbId: string;
@Input() twitter: string;
@Input() facebook: string;
@Input() instagram: string;
@Input() available: boolean;
@Input() plexUrl: string;
@Input() embyUrl: string;
@Input() jellyfinUrl: string;
@Input() doNotAppend: boolean;
@Output() openTrailer: EventEmitter<any> = new EventEmitter();
public openDialog() {
this.openTrailer.emit();
}
}