Home / Function/ svelte_options_invalid_customelement() — svelte Function Reference

svelte_options_invalid_customelement() — svelte Function Reference

Architecture documentation for the svelte_options_invalid_customelement() function in errors.js from the svelte codebase.

Entity Profile

Dependency Diagram

graph TD
  3e7bbd3e_180b_0652_d2b5_369ec014fa94["svelte_options_invalid_customelement()"]
  5e7e4cac_5219_f814_961b_47de0ad05943["errors.js"]
  3e7bbd3e_180b_0652_d2b5_369ec014fa94 -->|defined in| 5e7e4cac_5219_f814_961b_47de0ad05943
  bd54594a_5b53_1a7a_2524_153cf940f2bd["read_options()"]
  bd54594a_5b53_1a7a_2524_153cf940f2bd -->|calls| 3e7bbd3e_180b_0652_d2b5_369ec014fa94
  style 3e7bbd3e_180b_0652_d2b5_369ec014fa94 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/compiler/errors.js lines 1557–1559

export function svelte_options_invalid_customelement(node) {
	e(node, 'svelte_options_invalid_customelement', `"customElement" must be a string literal defining a valid custom element name or an object of the form { tag?: string; shadow?: "open" | "none" | \`ShadowRootInit\`; props?: { [key: string]: { attribute?: string; reflect?: boolean; type: .. } } }\nhttps://svelte.dev/e/svelte_options_invalid_customelement`);
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does svelte_options_invalid_customelement() do?
svelte_options_invalid_customelement() is a function in the svelte codebase, defined in packages/svelte/src/compiler/errors.js.
Where is svelte_options_invalid_customelement() defined?
svelte_options_invalid_customelement() is defined in packages/svelte/src/compiler/errors.js at line 1557.
What calls svelte_options_invalid_customelement()?
svelte_options_invalid_customelement() is called by 1 function(s): read_options.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free