RegularElement Type — svelte Architecture
Architecture documentation for the RegularElement type/interface in template.d.ts from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD 046030d5_5485_8024_fbbf_e1ddd31bad52["RegularElement"] 628b0d7d_f8bd_9570_9133_f9b9af4f58aa["template.d.ts"] 046030d5_5485_8024_fbbf_e1ddd31bad52 -->|defined in| 628b0d7d_f8bd_9570_9133_f9b9af4f58aa style 046030d5_5485_8024_fbbf_e1ddd31bad52 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/compiler/types/template.d.ts lines 343–358
export interface RegularElement extends BaseElement {
type: 'RegularElement';
/** @internal */
metadata: {
/** `true` if this is an svg element */
svg: boolean;
/** `true` if this is a mathml element */
mathml: boolean;
/** `true` if contains a SpreadAttribute */
has_spread: boolean;
scoped: boolean;
path: SvelteNode[];
/** Synthetic value attribute for <option> with single expression child, used for client-only handling */
synthetic_value_node: ExpressionTag | null;
};
}
Source
Frequently Asked Questions
What is the RegularElement type?
RegularElement is a type/interface in the svelte codebase, defined in packages/svelte/src/compiler/types/template.d.ts.
Where is RegularElement defined?
RegularElement is defined in packages/svelte/src/compiler/types/template.d.ts at line 343.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free