Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "components/common/toggleAriaHide"

Index

Functions

Functions

toggleAriaHide

  • toggleAriaHide(active: boolean, ariaShow: () => void, element: HTMLElement): () => void
  • Toggle aria-hidden.

    Parameters

    • active: boolean

      Current state.

    • ariaShow: () => void

      Remove aria-hidden function.

        • (): void
        • Returns void

    • element: HTMLElement

      Element to block scroll.

    Returns () => void

    New remove aria-hidden function or null.

      • (): void
      • Returns void

Generated using TypeDoc