projects/ks89/angular-modal-gallery/src/lib/components/upper-buttons/upper-buttons.component.ts
Function onEvent
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
onEvent(button: InternalButtonConfig, event: KeyboardEvent | MouseEvent, action: Action = Action.CLICK): void {
if (!event) {
return;
}
const dataToEmit: ButtonEvent = {