Reference · The web components
FlightWordstype
The words the flight bar says itself, each of which a page can replace (for a language) with flight.words = { play: "…" }. A phase's name, what happens in it and a flight's note are the data's and stay as they are.
Import it
import type { FlightWords } from "@johnmorrisdotca/uchusen-rockets/element";
Definition
interface FlightWords {
play: string;
pause: string;
again: string;
back: string;
next: string;
leave: string;
range: string;
none: string;
sourced: string;
reduced: string;
from: string;
}
Members
| Name | Type | Description |
|---|---|---|
play | string | |
pause | string | |
again | string | |
back | string | |
next | string | |
leave | string | |
range | string | |
none | string | |
sourced | string | |
reduced | string | |
from | string |
Examples
import type { FlightWords } from "@johnmorrisdotca/uchusen-rockets/element";
const words: Partial<FlightWords> = { play: "Start", pause: "Stop" };
console.log(Object.keys(words));[ 'play', 'pause' ]What it prints (run when this page was built)