Angular directive
sra-pit-road source template
This widget displays pit road information, like current speed, speed limit, and time to the stall.
It also displays yellow as you are approaching pit road speed, green when you are near it and red when you are over.
It will blink if you exceed the speed limit by more than 15 mph (25 kph).
Example:
<sra-pit-road></sra-pit-road>
Dependencies:
Name | Type | Description |
---|---|---|
data-sra-args-pit-countdown | integer | The amount of time you must be from your pit before showing the count down timer. Default is -10. |
PITCOUNTDOWN | integer | Can be set as a URL parameter, &PITCOUNTDOWN=-10. |
data-sra-args-interval | integer | The interval, in milliseconds, that this widget will update from the server. Default is 50. |