Home / Function/ svelte_fragment_invalid_attribute() — svelte Function Reference

svelte_fragment_invalid_attribute() — svelte Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  f86f9d49_45a5_0bbd_d79b_5ce20b9f8c1b["svelte_fragment_invalid_attribute()"]
  495501a4_a342_6a4d_ac11_e3e2fee8b218["errors.js"]
  f86f9d49_45a5_0bbd_d79b_5ce20b9f8c1b -->|defined in| 495501a4_a342_6a4d_ac11_e3e2fee8b218
  aa41b09d_e55c_ecda_de33_e201a39ef960["SvelteFragment()"]
  aa41b09d_e55c_ecda_de33_e201a39ef960 -->|calls| f86f9d49_45a5_0bbd_d79b_5ce20b9f8c1b
  style f86f9d49_45a5_0bbd_d79b_5ce20b9f8c1b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/compiler/errors.js lines 1462–1464

export function svelte_fragment_invalid_attribute(node) {
	e(node, 'svelte_fragment_invalid_attribute', `\`<svelte:fragment>\` can only have a slot attribute and (optionally) a let: directive\nhttps://svelte.dev/e/svelte_fragment_invalid_attribute`);
}

Domain

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free