import { Component, EventEmitter, Input, OnInit, Output, ViewEncapsulation } from '@angular/core'; @Component({ selector: 'onguard-actions-dropdown', templateUrl: './actions-dropdown.component.html', styleUrls: ['./actions-dropdown.component.scss'], encapsulation: ViewEncapsulation.None, }) export class ActionsDropdownComponent implements OnInit { @Input() entries: Map; @Input() xPosition: 'before' | 'after' = 'after'; @Output() select = new EventEmitter(); constructor() {} ngOnInit(): void { } selectOption(value: any): void { this.select.emit(value); } }