This constructor is an implementation detail. Do not use this.
Disposes the object, allowing it to clean up all of its memory. You need to call this for every object that you don't use anymore and hasn't already been disposed.
Converts the component into a generic component suitable for using with a layout.
Calculates the component's state based on the timer and the layout settings provided.
Encodes the component's state information as JSON.
Allows for scoped usage of the object. The object is guaranteed to get disposed once this function returns. You are free to dispose the object early yourself anywhere within the scope. The scope's return value gets carried to the outside of this function.
Creates a new Previous Segment Component.
Generated using TypeDoc
The Previous Segment Component is a component that shows how much time was saved or lost during the previous segment based on the chosen comparison. Additionally, the potential time save for the previous segment can be displayed. This component switches to a
Live Segment
view that shows active time loss whenever the runner is losing time on the current segment.