Odometer Widget

../_images/odometer.gif

Field Templates

Required

../_images/odometer-fields-required.png

Optional

../_images/odometer-fields-optional.png

Fields

Bold field names are required fields, others are optional.

Field Name Type Description
val Text Value to use according to action
label Text Text to display below the odometer
color Color Background color
action Text Name of the action, by default “set”

Actions

add

Increase the value identified by label by val or 1 if val isn’t provided.

Useful to accumulate by an identifier.

substract

Decrease the value identified by label by val or 1 if val isn’t provided.

set

Set the value identified by label to val or 1 if val isn’t provided.