Builder for a GdprManager

Export

Hierarchy

Constructors

Properties

bannerWasShown: boolean = false
groups: GdprGuardGroup[] = []
storage: GdprStorage = GdprStorage.Cookie

Methods

  • Start a new disabled group

    Returns

    Memberof

    GdprManagerBuilder

    Parameters

    • Optional storage: null | GdprStorage = null

      The storage type of the group

    • Optional name: string = ""

      The name of the group

    • Optional description: string = ""

      The description of the group

    Returns GdprGroupBuilder

  • Start a new group

    Returns

    Memberof

    GdprManagerBuilder

    Parameters

    • Optional storage: null | GdprStorage = null

      The storage type of the group

    • Optional name: string = ""

      The name of the group

    • Optional description: string = ""

      The description of the group

    • Optional enabled: boolean = true

      Whether or not the group is enabled

    Returns GdprGroupBuilder

  • Start a new group as required

    Returns

    Memberof

    GdprManagerBuilder

    Parameters

    • Optional storage: null | GdprStorage = null

      The storage type of the group

    • Optional name: string = ""

      The name of the group

    • Optional description: string = ""

      The description of the group

    Returns GdprGroupBuilder