Skip to main content

Chip

This view allows you to display a text (or a resource) as a chip. It's most useful for tags, statuses and properties.

JSON Format

{
"type": "chip",
"id": ...,
"type": ...,
"margin_left": ...,
"margin_right": ...,
"margin_top": ...,
"margin_bottom": ...,
"is_visible": ...,
"validation_message": ...,
"text": ...,
"on_tap_event": ...,
"background_color": ...,
"border_color": ...,
"style": ...,
"resource_id": ...,
"resource_instance_ids_stat": ...,
"resource_display_stat": ...
}

Fields

FieldTypeRequiredDescription
resource_display_statStringThe stat of the resource that should be used to display in the chip. Most usually it's name.