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

Relationship Graph

Source Code

packages/svelte/tests/runtime-legacy/samples/component-props-mutated/_config.js lines 9–15

	get props() {
		data.message = 'hello';

		return {
			data
		};
	},

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/component-props-mutated/_config.js.
Where is default.props() defined?
default.props() is defined in packages/svelte/tests/runtime-legacy/samples/component-props-mutated/_config.js at line 9.

Analyze Your Own Codebase

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

Try Supermodel Free