gallery-frontend/src/app/gallery/thumbnail/thumbnail.component.ts

21 lines
437 B
TypeScript
Raw Normal View History

import {Component, Input, OnInit} from '@angular/core';
import {ThumbLabel} from "../shared/thumb-label.model";
@Component({
selector: 'app-thumbnail',
templateUrl: './thumbnail.component.html',
styleUrls: ['./thumbnail.component.css']
})
export class ThumbnailComponent implements OnInit {
@Input() image: string = "";
@Input() label: ThumbLabel = null;
@Input() target: any = {};
constructor() {}
ngOnInit() {}
}