Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "frontend-packages/react-cookie-banner/src/hooks/useRestrictScrollWhenVisible"

Index

Functions

useRestrictScrollWhenVisible

  • useRestrictScrollWhenVisible(show: boolean): void
  • Do not allow scrolling when this banner is visible and add a blur effect if enabled.

    Parameters

    • show: boolean

    Returns void

Generated using TypeDoc