DSA

Digital Services Act - displays information about the ad and its targeting


Constructor

new DSA(dsa, element)

DSA class constructor

Parameters
Name Type Description
dsa Object

DSA data from ad server

element HTMLElement

Ad element to which DSA will be added

Methods

closeModal() @public

Closes modal with ad information


openModal() @public

Opens modal with ad information


toggleModal() @public

Toggles modal visibility (opens/closes)


render() @internal

Renders DSA icon and prepares wrapper for modal