Angular directive

sra-relative source template

This widget displays the cars that are physically close to you on the track, (optionally by class by default, the REFERENCE car's class). There are 2 times, how far behind the leader (of your class) and how far they are from you at your current speed. The cars are color coded as Red(At least a lap ahead), Blue (At least a lap behind), White (Same lap as you), Cyan (Off track). A blink counter is shown before the Club Name.

Example:

<sra-relative></sra-relative>

Dependencies:
NameTypeDescription
data-sra-args-class-filter boolean true, displays cars relative to your location. Default false.
data-sra-args-by-location boolean true, displays cars relative to your location. Default false.
data-sra-args-interval integer The interval, in milliseconds, that this widget will update from the server. Default is 1000.