Options
All
  • Public
  • Public/Protected
  • All
Menu

Main class to manage cookie consents within your application.

Hierarchy

  • CookieConsentManager

Index

Constructors

constructor

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

    Returns DecisionConsentGroups

getOption

  • getOption<K>(name: K): CookieConsentManagerOptions[K]
  • Type parameters

    Parameters

    • name: K

    Returns CookieConsentManagerOptions[K]

getOptions

  • Returns CookieConsentManagerOptions

getUserDecision

  • Returns false | Decision

Generated using TypeDoc