Options
All
  • Public
  • Public/Protected
  • All
Menu

Class holds shareable data across cmp api and provides change event listener for TcModel. Within the context of the CmpApi, this class acts much like a global state or database, where CmpApi sets data and Commands read the data.

Hierarchy

  • CmpApiModel

Index

Properties

Static apiVersion

apiVersion: number = 2

Static changeEventCallback

changeEventCallback: function

Type declaration

    • (): void
    • Returns void

Static cmpId

cmpId: number

Static cmpStatus

cmpStatus: CmpStatus = CmpStatus.LOADING

Static cmpVersion

cmpVersion: number

Static displayStatus

displayStatus: DisplayStatus = DisplayStatus.HIDDEN

Static eventStatus

eventStatus: EventStatus

Static gdprApplies

gdprApplies: boolean

Static tcfPolicyVersion

tcfPolicyVersion: number = 2

Accessors

Static disabled

disabled:

Returns true if the TcModel has been set

Static tcModel

tcModel:

Returns the current TcModel Sets clone of TcModel

Static uiVisible

uiVisible:

Methods

Static reset

  • reset(): void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc