Module: _internal
Interfaces
- API
- AppConfig
- ContentConfig
- Editor
- EditorConfig
- EditorPosition
- FormatterConfig
- Screen
- TestResult
- Types
- UserConfig
Type Aliases
APICommands
Ƭ APICommands: "setBroadcastToken" | "showVersion"
Defined in
CDN
Ƭ CDN: "jspm" | "skypack" | "jsdelivr" | "fastly.jsdelivr" | "gcore.jsdelivr" | "testingcf.jsdelivr" | "jsdelivr.b-cdn" | "jsdelivr.gh" | "fastly.jsdelivr.gh" | "gcore.jsdelivr.gh" | "testingcf.jsdelivr.gh" | "jsdelivr.b-cdn.gh" | "jsdelivr.esm" | "fastly.jsdelivr.esm" | "gcore.jsdelivr.esm" | "testingcf.jsdelivr.esm" | "jsdelivr.b-cdn.esm" | "esm.run" | "esm.sh" | "esbuild" | "bundle.run" | "unpkg" | "npmcdn" | "statically"
Defined in
CodejarTheme
Ƭ CodejarTheme: "a11y-dark" | "atom-dark" | "base16-ateliersulphurpool-light" | "cb" | "coldark-cold" | "coldark-dark" | "coy" | "coy-without-shadows" | "darcula" | "dark" | "dracula" | "duotone-dark" | "duotone-earth" | "duotone-forest" | "duotone-light" | "duotone-sea" | "duotone-space" | "funky" | "ghcolors" | "gruvbox-dark" | "gruvbox-light" | "holi-theme" | "hopscotch" | "laserwave" | "lucario" | "material-dark" | "material-light" | "material-oceanic" | "monochrome" | "monochrome-dark" | "night-owl" | "nord" | "okaidia" | "one-dark" | "one-light" | "pojoaque" | "shades-of-purple" | "solarized-dark-atom" | "solarized-light" | "synthwave84" | "tomorrow" | "twilight" | "vs" | "vsc-dark-plus" | "xonokai" | "z-touchs"
Defined in
CodemirrorTheme
Ƭ CodemirrorTheme: "amy" | "aura" | "ayu-light" | "barf" | "basic-light" | "basic-dark" | "bespin" | "birds-of-paradise" | "boys-and-girls" | "clouds" | "cm-light" | "cobalt" | "cool-glow" | "dracula" | "espresso" | "github-dark" | "github-light" | "gruvbox-dark" | "gruvbox-light" | "material-dark" | "material-light" | "monochrome" | "monochrome-dark" | "noctis-lilac" | "nord" | "one-dark" | "rose-pine-dawn" | "smoothy" | "solarized-light" | "solarized-dark" | "tokyo-night" | "tokyo-night-day" | "tokyo-night-storm" | "tomorrow"
Defined in
CssPresetId
Ƭ CssPresetId: "" | "normalize.css" | "reset-css"
Defined in
EditorId
Ƭ EditorId: "markup" | "style" | "script"
Defined in
EditorTheme
Ƭ EditorTheme: MonacoTheme | CodemirrorTheme | CodejarTheme | `${MonacoTheme}@${Theme}` | `${CodemirrorTheme}@${Theme}` | `${CodejarTheme}@${Theme}` | `monaco:${MonacoTheme}` | `codemirror:${CodemirrorTheme}` | `codejar:${CodejarTheme}` | `monaco:${MonacoTheme}@${Theme}` | `codemirror:${CodemirrorTheme}@${Theme}` | `codejar:${CodejarTheme}@${Theme}`
Defined in
MonacoTheme
Ƭ MonacoTheme: "active4d" | "all-hallows-eve" | "amy" | "birds-of-paradise" | "blackboard" | "brilliance-black" | "brilliance-dull" | "chrome-devtools" | "clouds-midnight" | "clouds" | "cobalt" | "cobalt2" | "custom-vs-light" | "custom-vs-dark" | "dawn" | "dracula" | "dreamweaver" | "eiffel" | "espresso-libre" | "github" | "github-dark" | "github-light" | "hc-black" | "hc-light" | "idle" | "idlefingers" | "iplastic" | "katzenmilch" | "krtheme" | "kuroir" | "lazy" | "magicwb-amiga" | "merbivore-soft" | "merbivore" | "monochrome" | "monochrome-dark" | "monokai" | "monokai-bright" | "monoindustrial" | "night-owl" | "nord" | "oceanic-next" | "pastels-on-dark" | "slush-and-poppies" | "solarized-dark" | "solarized-light" | "spacecadet" | "sunburst" | "textmate-mac-classic" | "tomorrow" | "tomorrow-night" | "tomorrow-night-blue" | "tomorrow-night-bright" | "tomorrow-night-eighties" | "twilight" | "upstream-sunburst" | "vibrant-ink" | "vs" | "vs-dark" | "xcode-default" | "zenburnesque"
Defined in
Processor
Ƭ Processor: "postcss" | "postcssImportUrl" | "tailwindcss" | "windicss" | "unocss" | "tokencss" | "lightningcss" | "autoprefixer" | "postcssPresetEnv" | "cssmodules" | "purgecss" | "cssnano"
Defined in
SDKCodeHandler
Ƭ SDKCodeHandler: (data: { code: Code ; config: Config }) => void
Type declaration
▸ (data): void
Parameters
| Name | Type |
|---|---|
data | Object |
data.code | Code |
data.config | Config |
Returns
void
Defined in
SDKConsoleHandler
Ƭ SDKConsoleHandler: (data: { args: any[] ; method: string }) => void
Type declaration
▸ (data): void
Parameters
| Name | Type |
|---|---|
data | Object |
data.args | any[] |
data.method | string |
Returns
void
Defined in
SDKGenericHandler
Ƭ SDKGenericHandler: () => void
Type declaration
▸ (): void
Returns
void
Defined in
SDKReadyHandler
Ƭ SDKReadyHandler: (data: { config: Config }) => void
Type declaration
▸ (data): void
Parameters
| Name | Type |
|---|---|
data | Object |
data.config | Config |
Returns
void
Defined in
SDKTestsHandler
Ƭ SDKTestsHandler: (data: { error?: string ; results: TestResult[] }) => void
Type declaration
▸ (data): void
Parameters
| Name | Type |
|---|---|
data | Object |
data.error? | string |
data.results | TestResult[] |
Returns
void
Defined in
TemplateName
Ƭ TemplateName: "blank" | "javascript" | "typescript" | "react" | "react-native" | "vue2" | "vue" | "angular" | "preact" | "svelte" | "solid" | "lit" | "stencil" | "mdx" | "astro" | "riot" | "malina" | "jquery" | "backbone" | "knockout" | "jest" | "jest-react" | "bootstrap" | "tailwindcss" | "coffeescript" | "livescript" | "civet" | "clio" | "imba" | "rescript" | "reason" | "ocaml" | "python" | "pyodide" | "python-wasm" | "r" | "ruby" | "ruby-wasm" | "go" | "php" | "php-wasm" | "cpp" | "clang" | "cpp-wasm" | "perl" | "lua" | "lua-wasm" | "teal" | "fennel" | "julia" | "scheme" | "commonlisp" | "clojurescript" | "gleam" | "tcl" | "markdown" | "assemblyscript" | "wat" | "sql" | "postgresql" | "prolog" | "blockly" | "diagrams"
Defined in
Theme
Ƭ Theme: "light" | "dark"
Defined in
ToolsPaneStatus
Ƭ ToolsPaneStatus: "closed" | "open" | "full" | "none" | ""