Reference · Rockets, variants, parts and the fit check
OPTION_ATTRIBUTESconstant
The attributes of <uchusen-rocket> that choose what is drawn, in the order the demo writes them. The embed.html query uses the same words.
Import it
import { OPTION_ATTRIBUTES } from "@johnmorrisdotca/uchusen-rockets";
Definition
const OPTION_ATTRIBUTES: readonly ["rocket", "variant", "show", "look", "view", "build", "mode", "spin", "way", "label", "assets", "engines", "lights", "thrusters", "phase", "motion"] = ["rocket", "variant", "show", "look", "view", "build", "mode", "spin", "way", "label", "assets", "engines", "lights", "thrusters", "phase", "motion"] as const
Examples
import { OPTION_ATTRIBUTES } from "@johnmorrisdotca/uchusen-rockets";
console.log(OPTION_ATTRIBUTES.join(", "));rocket, variant, show, look, view, build, mode, spin, way, label, assets, engines, lights, thrusters, phase, motionWhat it prints (run when this page was built)