<talos-plane> is one orbital plane drawn as a train: the satellites of a
single plane spaced along their shared track, each following the one ahead. It
is the middle magnification between the whole-shell
matrix and a single
spacecraft. Each satellite links to its fore and
aft neighbours along the track and to two cross-plane neighbours (the stubs above
and below). The shaded span is the eclipse the train is flying through.
Default — .sats and the eclipse span
<talos-plane slots="22" label="P00" eclipse-from="0.3" eclipse-to="0.6"></talos-plane>
<script type="module">
const el = document.querySelector("talos-plane");
el.sats = Array.from({ length: 22 }, (_, i) => ({ band: 0, eclipse: i > 6 && i < 13 }));
el.addEventListener("talos:sat", (e) => console.log("slot", e.detail.slot));
</script>
The demo moves the eclipse span along the track each second and re-sets
.sats: satellites inside the shadow read warning, a few random ones go
critical. Motion lives in the data you push; re-set .sats and the train
advances.
Data
| Property | Shape | Effect |
|---|---|---|
sats | [{ band, eclipse?, selected? }] | in slot (flight) order; band 0 / 1 / 2; selected rings a satellite |
A click on a satellite emits talos:sat with { slot }.
Keyboard focus goes to a role="listbox" inside the shadow root, not to the
host: arrow keys move between satellites and Enter or Space emits talos:sat for
the focused one. The host carries no role, aria-label or tabindex.
Attributes
Generated from custom-elements.json in the installed package.
Shared attributes (state, format, static…) behave as the
instrument contract describes.
| Attribute | Type | Default | Description |
|---|---|---|---|
slots | number | 22, 3..MAX_SLOTS | satellites in the plane. |
eclipse-from | number | — | shadow span start, 0..1. |
eclipse-to | number | — | shadow span end, 0..1. |
plane-label | string | — | deprecated alias of `label` (warns once) |
state | string | — | live | loading | stale | offline | unknown; sets data-state on the host |
updated-at | string | — | time of the last sample (ISO or epoch ms); drives the age caption |
stale-after | string | — | seconds after updated-at at which the element reads stale |
label | string | — | short text label, part="caption". |
Properties and methods
| Member | Type | Description |
|---|---|---|
.sats | TrackSat[] |
Events
| Event | Type | Description |
|---|---|---|
talos:sat | CustomEvent<{ slot }> | Bubbles and is composed. |
CSS parts
::part(caption), ::part(svg)