Home / Function/ default.props() — svelte Function Reference

default.props() — svelte Function Reference

Architecture documentation for the default.props() function in _config.js from the svelte codebase.

Entity Profile

Dependency Diagram

graph TD
  b0e27f3d_3749_b149_1bc9_c70ff783db8d["default.props()"]
  48f1cdd3_f877_32e0_b2e9_79a98842bdc1["_config.js"]
  b0e27f3d_3749_b149_1bc9_c70ff783db8d -->|defined in| 48f1cdd3_f877_32e0_b2e9_79a98842bdc1
  style b0e27f3d_3749_b149_1bc9_c70ff783db8d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/tests/runtime-legacy/samples/dynamic-element-animation/_config.js lines 4–15

	get props() {
		return {
			things: [
				{ id: 1, name: 'a' },
				{ id: 2, name: 'b' },
				{ id: 3, name: 'c' },
				{ id: 4, name: 'd' },
				{ id: 5, name: 'e' }
			],
			tag: 'div'
		};
	},

Domain

Subdomains

Frequently Asked Questions

What does default.props() do?
default.props() is a function in the svelte codebase, defined in packages/svelte/tests/runtime-legacy/samples/dynamic-element-animation/_config.js.
Where is default.props() defined?
default.props() is defined in packages/svelte/tests/runtime-legacy/samples/dynamic-element-animation/_config.js at line 4.

Analyze Your Own Codebase

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

Try Supermodel Free