element_implicitly_closed() — svelte Function Reference
Architecture documentation for the element_implicitly_closed() function in warnings.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD 2f2a18df_cf0f_6e23_cd90_0dcb551f1613["element_implicitly_closed()"] 56a689f9_11c0_cc76_bd60_41bb6dc96475["warnings.js"] 2f2a18df_cf0f_6e23_cd90_0dcb551f1613 -->|defined in| 56a689f9_11c0_cc76_bd60_41bb6dc96475 be9cd3f4_bdc5_dc26_dae4_4a34e45ab7eb["element()"] be9cd3f4_bdc5_dc26_dae4_4a34e45ab7eb -->|calls| 2f2a18df_cf0f_6e23_cd90_0dcb551f1613 style 2f2a18df_cf0f_6e23_cd90_0dcb551f1613 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/compiler/warnings.js lines 766–768
export function element_implicitly_closed(node, tag, closing) {
w(node, 'element_implicitly_closed', `This element is implicitly closed by the following \`${tag}\`, which can cause an unexpected DOM structure. Add an explicit \`${closing}\` to avoid surprises.\nhttps://svelte.dev/e/element_implicitly_closed`);
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does element_implicitly_closed() do?
element_implicitly_closed() is a function in the svelte codebase, defined in packages/svelte/src/compiler/warnings.js.
Where is element_implicitly_closed() defined?
element_implicitly_closed() is defined in packages/svelte/src/compiler/warnings.js at line 766.
What calls element_implicitly_closed()?
element_implicitly_closed() is called by 1 function(s): element.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free