jw-actions
The schema defines the following properties:
Property | Type | Required | Description |
type | widget.actions | true | |
instanceId | InstanceId | Expression | false | |
options | Actions Widget Options | true | |
Properties of the options object:
Property | Type | Required | Description |
footer | string | Expression | TextWithFormat | TextLocale | false | Footer text of widget |
footerAlign | enum<string> | false | Footer text align |
placeholders | object[] | false | Widget specific placeholders config |
primary | Primary | true | Primary action for widget |
secondary | Secondary | true | Secondary action for widget |
Footer text of widget
Footer text align
This element must be one of the following enum values:
- left
- right
- center
Widget specific placeholders config
The object is an array with all elements of the type object.
The array object has the following properties:
Primary action for widget
Properties of the primary object:
Property | Type | Required | Description |
title | string | Expression | TextWithFormat | TextLocale | true | |
onPress | true | |
Secondary action for widget
Properties of the secondary object:
Property | Type | Required | Description |
title | string | Expression | TextWithFormat | TextLocale | true | |
onPress | true | |