Skip to main content

ResourceSection

This view allows you to display a series of resources (only the list_view). Each of these resources will display the display_view if the user taps it (unless specified otherwise), and it also offers the possibility to remove resources by swiping them to one side of the screen. This is particularly useful to display arrays of resources in the character sheet.

JSON Format

{
"type": "resourceSection",
"id": ...,
"type": ...,
"margin_left": ...,
"margin_right": ...,
"margin_top": ...,
"margin_bottom": ...,
"is_visible": ...,
"validation_message": ...,
"header_view": ...,
"resource_stat": ...,
"resource_set_stat": ...,
"resource_id": ...,
"read_only": ...,
"tap_displays_resource": ...,
"content_item_min_width": ...,
"alignment": ...,
"max_items_in_preview": ...,
"reorganizable": ...
}

Fields

FieldTypeRequiredDescription
reorganizableboolOptional. Defaults to false. If set to true, items in this section can be reordered via drag and drop. When enabled, moving an item updates and saves the underlying stat order.