Skip to main content

Button

Description

The User.TappedContinue type defines an action that requires a client to The Button type defines a control that responds to a click or tap event by and end user to submit a value or set of values obtained by another control.

Properties

  • label (string, required) - The human-readable text that should be displayed on the button control.
  • onTap (AnyUserInputAction, required) - The action to perform when the button is pressed.

Example

{
"type" : "Button",
"label" : "Begin assessment",
"onTap" : {
"type" : "User.Submitted<Screening.Response>",
"value" : {
"key" : "beginBrainFogScreening",
"type" : "Screening.Response",
"value" : true
}
}
}