index.svelte.js — svelte Source File
Architecture documentation for index.svelte.js, a javascript file in the svelte codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 1acf461e_6345_5fcc_3b07_e90d7392540c["index.svelte.js"] a847d475_28e2_6e69_a137_e9b47aec897c["disclose-version"] 1acf461e_6345_5fcc_3b07_e90d7392540c --> a847d475_28e2_6e69_a137_e9b47aec897c 1a59b12b_63d5_2eb4_1881_6fb96dbdcb56["client"] 1acf461e_6345_5fcc_3b07_e90d7392540c --> 1a59b12b_63d5_2eb4_1881_6fb96dbdcb56 style 1acf461e_6345_5fcc_3b07_e90d7392540c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import 'svelte/internal/disclose-version';
import * as $ from 'svelte/internal/client';
var root = $.from_html(`<header><nav><a href="/">Home</a> <a href="/away">Away</a></nav></header> <main><h1> </h1> <div class="static"><p>we don't need to traverse these nodes</p></div> <p>or</p> <p>these</p> <p>ones</p> <!> <p>these</p> <p>trailing</p> <p>nodes</p> <p>can</p> <p>be</p> <p>completely</p> <p>ignored</p></main> <cant-skip><custom-elements></custom-elements></cant-skip> <div><input/></div> <div><source/></div> <select><option>a</option></select> <img src="..." alt="" loading="lazy"/> <div><img src="..." alt="" loading="lazy"/></div>`, 3);
export default function Skip_static_subtree($$anchor, $$props) {
var fragment = root();
var main = $.sibling($.first_child(fragment), 2);
var h1 = $.child(main);
var text = $.child(h1, true);
$.reset(h1);
var node = $.sibling(h1, 10);
$.html(node, () => $$props.content);
$.next(14);
$.reset(main);
var cant_skip = $.sibling(main, 2);
var custom_elements = $.child(cant_skip);
$.set_custom_element_data(custom_elements, 'with', 'attributes');
$.reset(cant_skip);
var div = $.sibling(cant_skip, 2);
var input = $.child(div);
$.autofocus(input, true);
$.reset(div);
var div_1 = $.sibling(div, 2);
var source = $.child(div_1);
source.muted = true;
$.reset(div_1);
var select = $.sibling(div_1, 2);
var option = $.child(select);
option.value = option.__value = 'a';
$.reset(select);
var img = $.sibling(select, 2);
$.next(2);
$.template_effect(() => $.set_text(text, $$props.title));
$.append($$anchor, fragment);
}
Domain
Subdomains
Functions
Dependencies
- client
- disclose-version
Source
Frequently Asked Questions
What does index.svelte.js do?
index.svelte.js is a source file in the svelte codebase, written in javascript. It belongs to the BuildSystem domain, MessageProcessor subdomain.
What functions are defined in index.svelte.js?
index.svelte.js defines 1 function(s): Skip_static_subtree.
What does index.svelte.js depend on?
index.svelte.js imports 2 module(s): client, disclose-version.
Where is index.svelte.js in the architecture?
index.svelte.js is located at packages/svelte/tests/snapshot/samples/skip-static-subtree/_expected/client/index.svelte.js (domain: BuildSystem, subdomain: MessageProcessor, directory: packages/svelte/tests/snapshot/samples/skip-static-subtree/_expected/client).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free