Class CookieConsentManager
Constructors
constructor
-
Parameters
Properties
Private options
Methods
applyCookies
- applyCookies(options: Pick<Parameters<typeof apply>[0], "type">): Promise<void>
-
Parameters
-
options: Pick<Parameters<typeof apply>[0], "type">
Returns Promise<void>
getDefaultDecision
-
Parameters
-
Default value respectLegitimateInterests: boolean = true
getOption
- getOption<K>(name: K): CookieConsentManagerOptions[K]
-
Type parameters
Parameters
Returns CookieConsentManagerOptions[K]
getOptions
-
getUserDecision
-
Main class to manage cookie consents within your application.