Angular directive

sra-text-gauge-fuel-level source template

This widget displays the fuel level.

States:

  • WARNING - time to start looking for pit road.
  • CRITICAL - time to pit.
Example:

<sra-text-gauge-fuel-level></sra-text-gauge-fuel-level>

Dependencies:
NameTypeDescription
data-sra-args-show-label boolean Set to true or false for displaying the label. Defaults to true. Can be overridden from the URL with "SHOWLABEL=false".
data-sra-args-round-to double The value to round the digital display to. Defaults to 1. Can be overridden from the URL with "ROUNDTO=10".
data-sra-args-interval integer The interval, in milliseconds, that this widget will update from the server. Default is 16.