Builder for a gdpr group

Export

Hierarchy

Properties

bannerWasShown: boolean = false
description: string
enable: boolean
groups: GdprGuardGroup[] = []
guards: GdprGuard[] = []
name: string
require: boolean
storage: GdprStorage = GdprStorage.Cookie

Methods

  • Factory for a group builder

    Static

    Returns

    Memberof

    GdprGroupBuilder

    Parameters

    • mb: GdprManagerBuilder

      The parent manager builder

    • name: string

      The name of the group

    • Optional description: string = ""

      The description of the group

    • Optional storage: null | GdprStorage = null

      The storage of the group

    • Optional enabled: boolean = true

      Whether or not the group should be enabled

    • Optional required: boolean = false

      Whether or not the group should be required

    Returns GdprGroupBuilder