Home / Function/ svelte_options_invalid_customelement_shadow() — svelte Function Reference

svelte_options_invalid_customelement_shadow() — svelte Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  370927a0_ed7d_6e5f_99c4_6d7d2fb6c3f7["svelte_options_invalid_customelement_shadow()"]
  495501a4_a342_6a4d_ac11_e3e2fee8b218["errors.js"]
  370927a0_ed7d_6e5f_99c4_6d7d2fb6c3f7 -->|defined in| 495501a4_a342_6a4d_ac11_e3e2fee8b218
  6a48e790_0ca5_6fae_197c_7c93c49d9b66["read_options()"]
  6a48e790_0ca5_6fae_197c_7c93c49d9b66 -->|calls| 370927a0_ed7d_6e5f_99c4_6d7d2fb6c3f7
  style 370927a0_ed7d_6e5f_99c4_6d7d2fb6c3f7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/compiler/errors.js lines 1575–1577

export function svelte_options_invalid_customelement_shadow(node) {
	e(node, 'svelte_options_invalid_customelement_shadow', `"shadow" must be either "open", "none" or \`ShadowRootInit\` object.\nhttps://svelte.dev/e/svelte_options_invalid_customelement_shadow`);
}

Domain

Subdomains

Called By

Frequently Asked Questions

What does svelte_options_invalid_customelement_shadow() do?
svelte_options_invalid_customelement_shadow() is a function in the svelte codebase, defined in packages/svelte/src/compiler/errors.js.
Where is svelte_options_invalid_customelement_shadow() defined?
svelte_options_invalid_customelement_shadow() is defined in packages/svelte/src/compiler/errors.js at line 1575.
What calls svelte_options_invalid_customelement_shadow()?
svelte_options_invalid_customelement_shadow() 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