From 7b2809cb1df292f3efab969e494c026e6417e496 Mon Sep 17 00:00:00 2001 From: oekazuma Date: Tue, 23 Apr 2024 13:05:26 +0900 Subject: [PATCH 1/2] translte bind:property into Japanese --- .../docs/02-template-syntax/06-component-directives.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/docs/02-template-syntax/06-component-directives.md b/documentation/docs/02-template-syntax/06-component-directives.md index 978a8c92a..a8e9e1918 100644 --- a/documentation/docs/02-template-syntax/06-component-directives.md +++ b/documentation/docs/02-template-syntax/06-component-directives.md @@ -109,7 +109,7 @@ bind:property={variable} ``` -While Svelte props are reactive without binding, that reactivity only flows downward into the component by default. Using `bind:property` allows changes to the property from within the component to flow back up out of the component. +Svelteのpropsはバインドをしなくてもリアクティブですが、そのリアクティビティはデフォルトでコンポーネントの下向きにしか流れません。`bind:property`を使用することで、コンポーネント内からプロパティへの変更をコンポーネントの外に戻すことができます。 ## bind:this From ba0f5cd61336e8d11867d0c59f9cbb90107213e2 Mon Sep 17 00:00:00 2001 From: tomoam <29677552+tomoam@users.noreply.github.com> Date: Tue, 7 May 2024 22:43:15 +0900 Subject: [PATCH 2/2] tweaks --- .../docs/02-template-syntax/06-component-directives.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/docs/02-template-syntax/06-component-directives.md b/documentation/docs/02-template-syntax/06-component-directives.md index a8e9e1918..fc2948374 100644 --- a/documentation/docs/02-template-syntax/06-component-directives.md +++ b/documentation/docs/02-template-syntax/06-component-directives.md @@ -109,7 +109,7 @@ bind:property={variable} ``` -Svelteのpropsはバインドをしなくてもリアクティブですが、そのリアクティビティはデフォルトでコンポーネントの下向きにしか流れません。`bind:property`を使用することで、コンポーネント内からプロパティへの変更をコンポーネントの外に戻すことができます。 +Svelteのpropsはバインドをしなくてもリアクティブですが、そのリアクティビティはデフォルトでコンポーネントの下向きにしか流れません。`bind:property`を使用することで、コンポーネント内部でのプロパティの変更をコンポーネントの外部に戻すことができます。 ## bind:this