internals() — svelte Function Reference
Architecture documentation for the internals() function in index.d.ts from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD 68c1a8e8_2ae9_03b0_7bcb_cf76284f3e92["internals()"] 2003c7aa_7f92_2ab3_f241_436f48fa638d["HTMLElement"] 68c1a8e8_2ae9_03b0_7bcb_cf76284f3e92 -->|defined in| 2003c7aa_7f92_2ab3_f241_436f48fa638d style 68c1a8e8_2ae9_03b0_7bcb_cf76284f3e92 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/types/index.d.ts lines 149–166
(
this: void,
internals: ComponentInternals,
props: Props
): {
/**
* @deprecated This method only exists when using one of the legacy compatibility helpers, which
* is a stop-gap solution. See [migration guide](https://svelte.dev/docs/svelte/v5-migration-guide#Components-are-no-longer-classes)
* for more info.
*/
$on?(type: string, callback: (e: any) => void): () => void;
/**
* @deprecated This method only exists when using one of the legacy compatibility helpers, which
* is a stop-gap solution. See [migration guide](https://svelte.dev/docs/svelte/v5-migration-guide#Components-are-no-longer-classes)
* for more info.
*/
$set?(props: Partial<Props>): void;
} & Exports;
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does internals() do?
internals() is a function in the svelte codebase, defined in packages/svelte/types/index.d.ts.
Where is internals() defined?
internals() is defined in packages/svelte/types/index.d.ts at line 149.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free