@didomi/iabtcf-cmpapi
Version:
Ensures other in-page digital marketing technologies have access to CMP transparency and consent information for the iab. Transparency and Consent Framework (TCF).
26 lines (25 loc) • 695 B
JavaScript
/**
* An enum representing all the possible statuses for the displayStatus
* returned through the CMP API
*
* @readonly
* @enum {string}
*/
export var DisplayStatus;
(function (DisplayStatus) {
/**
* User interface is currently displayed
* @type {string}
*/
DisplayStatus["VISIBLE"] = "visible";
/**
* User interface is not yet or no longer displayed
* @type {string}
*/
DisplayStatus["HIDDEN"] = "hidden";
/**
* User interface will not show (e.g. GDPR does not apply or TC data is current and does not need renewal)
* @type {string}
*/
DisplayStatus["DISABLED"] = "disabled";
})(DisplayStatus || (DisplayStatus = {}));