Ticker
This view displays as a ticker/counter for numbers.
JSON Format
{
"type": "ticker",
"id": ...,
"type": ...,
"margin_left": ...,
"margin_right": ...,
"margin_top": ...,
"margin_bottom": ...,
"is_visible": ...,
"validation_message": ...,
"stat": ...,
"style": ...,
"button_location": ...,
"button_look": ...,
"change_amount": ...,
"allowed_values": ...,
"min_value_allowed": ...,
"calculated_min_value_allowed": ...,
"max_value_allowed": ...,
"calculated_max_value_allowed": ...,
"label": ...,
"label_alignment": ...,
"should_auto_save": ...,
"always_show_sign": ...,
"edit_bottom_sheet_title": ...
}
Fields
| Field | Type | Required | Description |
|---|---|---|---|
edit_bottom_sheet_title | StatFormulaComponent | Optional. Defaults to none. If provided, the app will try to display a bottom sheet to edit (add and subtract from) the ticker value when the player taps on it. This will only work if both change_amount is omitted (or equal to 1) and the allowed_values property is omitted.@type string |