import {Component, Input} from '@angular/core';
import {HelperFunctions} from "../../utils/HelperFunctions.class";
// NOT USED
@Component({
selector: 'publishedIn',
template: `
threshold) ? ' uk-margin-remove-bottom' : '')">
- Published in
-
-
View less
- 5" class="uk-text-right uk-margin-bottom">
View more
`
})
// NOT USED
export class PublishedInComponent {
public threshold: number = 5;
public showNum: number = 5;
//key is name
@Input() publishedIn: Map;
public showAll: boolean = false;
constructor () {}
ngOnInit() {}
public scroll() {
HelperFunctions.scroll();
}
public getKeys( map) {
return Array.from(map.keys());
}
}