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