Home / Function/ State_proxy_literal() — svelte Function Reference

State_proxy_literal() — svelte Function Reference

Architecture documentation for the State_proxy_literal() function in index.svelte.js from the svelte codebase.

Entity Profile

Dependency Diagram

graph TD
  b9fb11f3_99af_33c6_0e6b_1bdab82d646a["State_proxy_literal()"]
  169e27bc_4380_d0ff_1c28_86b93f0633d4["index.svelte.js"]
  b9fb11f3_99af_33c6_0e6b_1bdab82d646a -->|defined in| 169e27bc_4380_d0ff_1c28_86b93f0633d4
  style b9fb11f3_99af_33c6_0e6b_1bdab82d646a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/tests/snapshot/samples/state-proxy-literal/_expected/server/index.svelte.js lines 3–15

export default function State_proxy_literal($$renderer) {
	let str = '';
	let tpl = ``;

	function reset() {
		str = '';
		str = ``;
		tpl = '';
		tpl = ``;
	}

	$$renderer.push(`<input${$.attr('value', str)}/> <input${$.attr('value', tpl)}/> <button>reset</button>`);
}

Domain

Subdomains

Frequently Asked Questions

What does State_proxy_literal() do?
State_proxy_literal() is a function in the svelte codebase, defined in packages/svelte/tests/snapshot/samples/state-proxy-literal/_expected/server/index.svelte.js.
Where is State_proxy_literal() defined?
State_proxy_literal() is defined in packages/svelte/tests/snapshot/samples/state-proxy-literal/_expected/server/index.svelte.js at line 3.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free