Angular directive
sra-shift-lights source template
This widget is a generic implementation of the shift light bar.
It shows progressive lights, green, yellow, red as approaching the shift point.
It also shows the same lights as you are approaching pit road speed.
Example:
<sra-shift-lights></sra-shift-lights>
Dependencies:
Name | Type | Description |
---|---|---|
sra-pit-speeding | boolean | If false, does not use the lights for pit road speed. Default is true. |
data-sra-args-flash-rate | milliseconds | The rate to flash when CRITICAL state is reached. |
data-sra-args-flash-on-critical | boolean | Enable or disable the flash on critical. Defaults to true. |