Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • TCFOptions

Index

Properties

changedPurposes: TCFChangedPurposes
cmpId: number
cmpVersion: number
consensuScriptPath: string
consensuSubdomain: string
disabledSpecialFeatures: number[]
gdprApplies: boolean
hideLegitimateInterestToggles: boolean
publisherCountryCode: string
purposeOneTreatment: boolean
resurfaceOptions: ResurfaceOptions
stackIds: number[]
tcfv2HistoryDisabled: boolean
useGranularChoice: boolean
vendorIds: number[]

Methods

  • areAllPurposesAccepted(): boolean
  • areAllVendorsAccepted(): boolean
  • changeLanguage(language: string): Promise<void>
  • getGdprApplies(): Promise<boolean>
  • getSelectedVendorsIncludeNonDisclosed(): boolean
  • getTCFDisclosedVendorsSegmentString(): string
  • getTCString(): string
  • init(): Promise<void>
  • injectTCString(tcString: string): Promise<boolean>
  • resetTcf(): void
  • setUIAsClosed(): Promise<void>
  • setUIAsOpen(): Promise<void>
  • shouldResurfaceUI(): boolean
  • updateControllerId(value: string): void