Options
All
  • Public
  • Public/Protected
  • All
Menu

An event hub for a GdprManager's events

Hierarchy

  • GdprManagerEventHub

Index

Constructors

Properties

eventMap: Record<string, GdprManagerEventHandler[]>

Methods

  • Parameters

    Returns void

  • Disable the given guard

    Parameters

    • guardName: string

      The guard's name

    Returns GdprManagerEventHub

  • Enable the given guard

    Parameters

    • guardName: string

      The guard's name

    Returns GdprManagerEventHub

  • executeListeners(type: string, guardName: string): void
  • Parameters

    • type: string
    • guardName: string

    Returns void

  • Attach a listener for when the given guard is disabled

    Parameters

    Returns GdprManagerEventHub

  • Attach a listener for when the given guard is enabled

    Parameters

    Returns GdprManagerEventHub

  • tagFor(type: string, guardName: string): string
  • Parameters

    • type: string
    • guardName: string

    Returns string