-
Notifications
You must be signed in to change notification settings - Fork 0
HudOptions
Imported from @elite-dangerous-almanac/galaxy-map.
What the host asks the HUD for. Every field is optional.
readonlyoptionaldatasetArrows?:boolean
Draws a previous button and a next button around the dataset field, and an
i / n counter after them. Each arrow loads the entry beside the loaded one in
catalog order. It is false by default, and a value that is not a boolean reads as
false.
readonlyoptionalhost?:HTMLElement
Where the HUD is built. With none the library builds in the canvas's parent.
readonlyoptionalinfoFields?:HudInfoFields
Which worked-out fields the information panel shows. The setting covers every system, and a field the host turns off is not built.
readonlyoptionallockedOptions?: readonlyHudMapOption[]
The map options the user may not change. A locked option draws no switch, and the handle's setters still move it. A name the list does not hold is ignored.
readonlyoptionaltitle?:string
The name in the top bar. The default is GALACTIC CARTOGRAPHICS.
optionaldetails(system,signal):SystemDetails|Promise<SystemDetails|null> |null
Loads the description, the extra values and the footer buttons of one system. The
panel calls it once for each system it opens on. The library aborts signal when the selection changes
and on dispose, so a host that fetches can stop the work behind a dropped answer.
AbortSignal
SystemDetails | Promise<SystemDetails | null> | null
Examples
Interfaces
- AddReport
- Category
- CategoryInput
- CategoryReject
- CategoryReport
- DatasetContent
- DatasetEntry
- DatasetInfo
- DatasetLoadResult
- FlyToOptions
- FlyToTarget
- FragmentWriter
- FragmentWriterOptions
- GalaxyMap
- GalaxyMapOptions
- HudAction
- HudHandle
- HudInfoFields
- HudOptions
- InteractionSwitches
- Line
- LineInput
- MapView
- NebulaSource
- RealSystem
- Reject
- ResolvedIcon
- ShapeInfo
- ShapeReject
- ShapeReport
- Sphere
- SphereInput
- StartView
- SystemDetailValue
- SystemDetails
- SystemImage
- SystemRecordInput