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
  9269cf42_72c8_2598_cc8f_9245a0bd7a95["default.props()"]
  69993ac9_2ab7_409c_1eb9_19bdb08cfcc3["_config.js"]
  9269cf42_72c8_2598_cc8f_9245a0bd7a95 -->|defined in| 69993ac9_2ab7_409c_1eb9_19bdb08cfcc3
  style 9269cf42_72c8_2598_cc8f_9245a0bd7a95 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/svelte/tests/runtime-legacy/samples/each-block-destructured-object-literal-props/_config.js lines 4–24

	get props() {
		return {
			objectsArray: [
				{
					'foo-bar': 'FooBar',
					0: 'zero',
					prop: 'prop'
				},
				{
					'foo-bar': 'foobar',
					0: 'null',
					prop: 'a prop'
				},
				{
					'foo-bar': 'FOO BAR',
					0: 'nada',
					prop: 'the prop'
				}
			]
		};
	},

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/each-block-destructured-object-literal-props/_config.js.
Where is default.props() defined?
default.props() is defined in packages/svelte/tests/runtime-legacy/samples/each-block-destructured-object-literal-props/_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