Home / Function/ svelte_options_invalid_attribute() — svelte Function Reference

svelte_options_invalid_attribute() — svelte Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

packages/svelte/src/compiler/errors.js lines 1538–1540

export function svelte_options_invalid_attribute(node) {
	e(node, 'svelte_options_invalid_attribute', `\`<svelte:options>\` can only receive static attributes\nhttps://svelte.dev/e/svelte_options_invalid_attribute`);
}

Domain

Subdomains

Called By

Frequently Asked Questions

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