Components

ConsentBar

Consent checkbox with back and continue actions.

Accessibility role
group
Examples
3
Source
consent-bar.dsf:7:1

Preview

Default configuration: every property, variant and state at its default, every context axis at its default.

I accept the terms of use
Back
Continue
Static preview computed from the reference semantics; native targets render with platform controls.

API

Properties

NameTypeDefaultBindingDescription
consent_labelstring"I accept the terms of use"input—
back_labelstring"Back"input—
continue_labelstring"Continue"input—

States

NameTypeDefaultInteraction
acceptedbooleanfalse—

Events

NamePayload
back—
continue—

Accessibility

AttributeValue
rolegroup
nameprop.consent_label

Anatomy

Examples

Verified by the reference semantics

Configuration

Every value at its default.

Inputs

  1. consent:activation
  2. continue:activation

Expectations

Events emitted: continue

I accept the terms of use
Back
Continue
Static preview computed from the reference semantics; native targets render with platform controls. The preview shows the configuration after the inputs or steps.

Verified by the reference semantics

Configuration

Every value at its default.

Inputs

  1. continue:activation

Expectations

Events emitted: none

Present: consent, back, continue, continue-icon

NodeAttributeExpected value
rootpaddinginsets(dp(16))
actionsgapdp(4)
I accept the terms of use
Back
Continue
Static preview computed from the reference semantics; native targets render with platform controls. The preview shows the configuration after the inputs or steps.

Verified by the reference semantics

Configuration

Every value at its default.

Inputs

  1. back:activation

Expectations

Events emitted: back

I accept the terms of use
Back
Continue
Static preview computed from the reference semantics; native targets render with platform controls. The preview shows the configuration after the inputs or steps.