import {Component, Input} from '@angular/core';
import {HelperFunctions} from "../../utils/HelperFunctions.class";
@Component({
selector: 'availableOn',
template: `
threshold) ? ' uk-margin-remove-bottom' : '')">
- Download from
-
threshold" class="uk-text-right uk-margin-bottom">
View less
5" class="uk-text-right uk-margin-bottom">
View more
`
})
export class AvailableOnComponent {
@Input() availableOn: { "downloadName": string, "downloadUrl": string[],
"collectedName": string, "collectedId": string,
"accessMode": string[], "bestAccessMode": string,
"type": string, "year":string }[];
public threshold: number = 5;
public showNum: number = 5;
constructor () {}
ngOnInit() {}
public scroll() {
HelperFunctions.scroll();
}
}