Class: NeedleAnimator
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/PFD/Components/HSI/NeedleAnimator.ts:6
Animates course and bearing needle elements.
Constructors
Constructor
new NeedleAnimator(
el
):NeedleAnimator
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/PFD/Components/HSI/NeedleAnimator.ts:16
Creates an instance of a NeedleAnimator.
Parameters
Parameter | Type | Description |
---|---|---|
el | NodeReference <HTMLDivElement > | The reference to the element to animate. |
Returns
NeedleAnimator
Methods
rotateTo()
rotateTo(
val
):void
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/PFD/Components/HSI/NeedleAnimator.ts:24
Rotates the element to the supplied value in degrees.
Parameters
Parameter | Type | Description |
---|---|---|
val | number | The value to rotate to. |
Returns
void