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