Home / Function/ slot_element_invalid_attribute() — svelte Function Reference

slot_element_invalid_attribute() — svelte Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  2fb9d04e_5a3c_b82d_704f_85edbda421be["slot_element_invalid_attribute()"]
  5e7e4cac_5219_f814_961b_47de0ad05943["errors.js"]
  2fb9d04e_5a3c_b82d_704f_85edbda421be -->|defined in| 5e7e4cac_5219_f814_961b_47de0ad05943
  3f2d46c1_c6ce_c314_c3f6_4e753c006fee["SlotElement()"]
  3f2d46c1_c6ce_c314_c3f6_4e753c006fee -->|calls| 2fb9d04e_5a3c_b82d_704f_85edbda421be
  style 2fb9d04e_5a3c_b82d_704f_85edbda421be fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/src/compiler/errors.js lines 1326–1328

export function slot_element_invalid_attribute(node) {
	e(node, 'slot_element_invalid_attribute', `\`<slot>\` can only receive attributes and (optionally) let directives\nhttps://svelte.dev/e/slot_element_invalid_attribute`);
}

Domain

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free