Reference · Facts, line drawings and positions
EMBED_KINDSconstant
The ways embedCode writes a body into a page.
Import it
import { EMBED_KINDS } from "@johnmorrisdotca/wakusei-planets";
Definition
const EMBED_KINDS: readonly ["html", "module", "react", "vue", "angular", "svelte", "iframe"] = ["html", "module", "react", "vue", "angular", "svelte", "iframe"] as const
Examples
import { EMBED_KINDS } from "@johnmorrisdotca/wakusei-planets";
console.log(EMBED_KINDS.join(", "));html, module, react, vue, angular, svelte, iframeWhat it prints (run when this page was built)