Skip to content

Marketing consent

<nsx-marketing-consent>

Overview

A legally compliant way to collect marketing consent from the user.

Examples

Guidance

Implementation

Placement

The nsx-marketing-consent component can only be used as a child of the <ns-form> element.

Specification

Attributes

name

Property
name
Type
string
Default
marketing-consent

value

Property
value
Type
string
Default

labelID

Property
labelID
Type
string
Default

heading

Property
heading
Type
string
Default

type

Property
type
Type
string
Default
standard

Slots

SlotPermitted tagsDescription
heading<h2> <h3> The alternative heading of the marketing consent.
paragraph<p> The alternative paragraph of the marketing consent.

Events

NameDescription
change