Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "wordpress-plugins/real-cookie-banner/src/public/ts/hooks/useBannerPreDecisionGateway"

Index

Functions

useBannerPreDecisionGateway

  • useBannerPreDecisionGateway(banner: BannerContextProps, setContextValue: Dispatch<SetStateAction<BannerContextProps>>, toggleOverlay: ReturnType<typeof useBannerToggleOverlay>["toggleOverlay"]): void
  • Do some decision gateways like DNT, Bot / Crawler and Decision and depending on that, show the Banner initially.

    Parameters

    Returns void

Generated using TypeDoc