Skip to content

Consents Accept All

This webcomponent is responsible for rendering a button that allows to accept selected consents and go to the page we want to visit. It behaves like a regular <button> html element no matter what content is put in 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-accept-all class="btn btn_primary">
        Go to store
    </consents-accept-all>

Webcomponents reference

Styles reference