Class: NavIndicators<T, U>
Holds the nav indicators.
Type parameters
Name | Type |
---|---|
T | extends readonly string [] |
U | extends readonly string [] |
Implements
Instrument
Constructors
constructor
• new NavIndicators<T
, U
>(indicators?
): NavIndicators
<T
, U
>
NavIndicators constructor.
Type parameters
Name | Type |
---|---|
T | extends readonly string [] |
U | extends readonly string [] |
Parameters
Name | Type | Description |
---|---|---|
indicators | Map <U [number ], NavIndicator <T >> | The nav indicators to hold. |
Returns
NavIndicators
<T
, U
>
Defined in
workingtitle-instruments-wt21/shared/Navigation/NavIndicators/NavIndicators.ts:83
Methods
get
▸ get(key
): NavIndicator
<T
>
Gets a nav indicator.
Parameters
Name | Type | Description |
---|---|---|
key | U [number ] | The name of the indicator to get. |
Returns
NavIndicator
<T
>
The indicator.
Throws
Error if indicator not found.
Defined in
workingtitle-instruments-wt21/shared/Navigation/NavIndicators/NavIndicators.ts:102
init
▸ init(): void
Returns
void
Inherit Doc
Implementation of
Instrument.init
Defined in
workingtitle-instruments-wt21/shared/Navigation/NavIndicators/NavIndicators.ts:88
onUpdate
▸ onUpdate(): void
Returns
void
Inherit Doc
Implementation of
Instrument.onUpdate
Defined in
workingtitle-instruments-wt21/shared/Navigation/NavIndicators/NavIndicators.ts:93