Delegated_locally_declared_shadowed() — svelte Function Reference
Architecture documentation for the Delegated_locally_declared_shadowed() function in index.svelte.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD 88a3a89e_54c9_cb5c_6ba5_9d6adaa66a74["Delegated_locally_declared_shadowed()"] 40c0676d_6752_577a_e97e_52a74c3f6c0b["index.svelte.js"] 88a3a89e_54c9_cb5c_6ba5_9d6adaa66a74 -->|defined in| 40c0676d_6752_577a_e97e_52a74c3f6c0b style 88a3a89e_54c9_cb5c_6ba5_9d6adaa66a74 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/tests/snapshot/samples/delegated-locally-declared-shadowed/_expected/client/index.svelte.js lines 7–26
export default function Delegated_locally_declared_shadowed($$anchor) {
var fragment = $.comment();
var node = $.first_child(fragment);
$.each(node, 0, () => ({ length: 1 }), $.index, ($$anchor, $$item, index) => {
var button = root_1();
$.set_attribute(button, 'data-index', index);
button.__click = (e) => {
const index = Number(e.currentTarget.dataset.index);
console.log(index);
};
$.append($$anchor, button);
});
$.append($$anchor, fragment);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does Delegated_locally_declared_shadowed() do?
Delegated_locally_declared_shadowed() is a function in the svelte codebase, defined in packages/svelte/tests/snapshot/samples/delegated-locally-declared-shadowed/_expected/client/index.svelte.js.
Where is Delegated_locally_declared_shadowed() defined?
Delegated_locally_declared_shadowed() is defined in packages/svelte/tests/snapshot/samples/delegated-locally-declared-shadowed/_expected/client/index.svelte.js at line 7.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free