Skip to main content

Class: NeedleAnimator

Animates course and bearing needle elements.

Constructors

constructor

new NeedleAnimator(el): NeedleAnimator

Creates an instance of a NeedleAnimator.

Parameters

NameTypeDescription
elNodeReference<HTMLDivElement>The reference to the element to animate.

Returns

NeedleAnimator

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

NameTypeDescription
valnumberThe value to rotate to.

Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/PFD/Components/HSI/NeedleAnimator.ts:24