Properties
Protected
_globalStoreHolder
Protected
_manager
_manager: GdprManager
Accessors
bannerWasShown
- get bannerWasShown(): boolean
-
Returns boolean
events
- get events(): GdprManagerEventHub
-
Returns GdprManagerEventHub
manager
- get manager(): GdprManager
-
Returns GdprManager
materializedState
- get materializedState(): GdprManagerRaw
-
Returns GdprManagerRaw
Methods
closeBanner
- closeBanner(): void
-
Returns void
Protected
generateRawManager
- generateRawManager(): GdprManagerRaw
-
Returns GdprManagerRaw
getGroup
- getGroup(groupName: string): null | GdprGuardGroup
-
Returns null | GdprGuardGroup
getGuard
- getGuard(guardName: string): null | GdprGuard
-
Returns null | GdprGuard
hasGroup
- hasGroup(groupName: string): boolean
-
Returns boolean
hasGuard
- hasGuard(guardName: string): boolean
-
Returns boolean
isEnabled
- isEnabled(name: string): boolean
-
Returns boolean
json
- json(): GdprManagerRaw
-
Returns GdprManagerRaw
resetAndShowBanner
- resetAndShowBanner(): void
-
Returns void
toString
- toString(): string
-
Returns string
triggerUpdate
- triggerUpdate(): void
-
Returns void
Protected
wrap
- wrap<Method>(method: Method, target?: string, ...args: ArgumentsOf<GdprGuard[Method]>): ManagerWrapper
-
Type Parameters
-
Method extends "raw" | "toggle" | "disable" | "isEnabled" | "enable" | "makeRequired" | "enableForStorage" | "disableForStorage" | "toggleForStorage"
Parameters
-
method: Method
-
Optional
target: string
-
Rest
...args: ArgumentsOf<GdprGuard[Method]>