LouisMazel/maz-ui

View on GitHub
packages/lib/modules/directives/v-lazy-img/lazy-img.handler.ts

Summary

Maintainability
A
3 hrs
Test Coverage
D
62%

LazyImg has 28 functions (exceeds 20 allowed). Consider refactoring.
Open

export class LazyImg {
  private observers: IntersectionObserver[] = []
  private readonly defaultOptions: ClassOptions = DEFAULT_OPTIONS
  private options: ClassOptions
  private onImgLoadedCallback: (el: HTMLElement) => void
Severity: Minor
Found in packages/lib/modules/directives/v-lazy-img/lazy-img.handler.ts - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status