Reference · Rockets, variants, parts and the fit check
EMBED_KINDSconstant
The six ways embedCode writes a rocket for another page: element, iframe, module, svg, data and link.
Import it
import { EMBED_KINDS } from "@johnmorrisdotca/uchusen-rockets";
Definition
const EMBED_KINDS: readonly ["element", "iframe", "module", "svg", "data", "link"] = ["element", "iframe", "module", "svg", "data", "link"] as const
Examples
import { EMBED_KINDS } from "@johnmorrisdotca/uchusen-rockets";
console.log(EMBED_KINDS.join(", "));element, iframe, module, svg, data, linkWhat it prints (run when this page was built)