Ks89/angular-modal-gallery

View on GitHub
projects/ks89/angular-modal-gallery/src/lib/components/upper-buttons/upper-buttons.component.ts

Summary

Maintainability
A
1 hr
Test Coverage
A
90%

Function onEvent has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  onEvent(button: InternalButtonConfig, event: KeyboardEvent | MouseEvent, action: Action = Action.CLICK): void {
    if (!event) {
      return;
    }
    const dataToEmit: ButtonEvent = {

    There are no issues that match your filters.

    Category
    Status