Skip to content

Consents Save

This webcomponent is responsible for rendering a button that allows to accept consent preferences. It behaves like a standard <button> HTML element regardless of the content that is placed inside it. It is used in consents-modal webcomponent.

Attributes

none

DOM Events

This webcomponent dispatches the following DOM events:

Example

In this example we also use button for presentation purposes.

    <consents-save class="btn btn_primary">
        Customize consents
    </consents-save>

Webcomponents reference

Styles reference