From 0fa9d16e5366c440df0394b1c60130f8f703f213 Mon Sep 17 00:00:00 2001 From: Ignatius Bagus Date: Mon, 1 Apr 2024 23:47:35 +0700 Subject: [PATCH] docs: fix $bindable hash link (#11011) * docs: fix $bindable hash link * standardise --- .../svelte-5-preview/src/routes/docs/content/01-api/02-runes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sites/svelte-5-preview/src/routes/docs/content/01-api/02-runes.md b/sites/svelte-5-preview/src/routes/docs/content/01-api/02-runes.md index 27b6f08a3e..3b24ad004e 100644 --- a/sites/svelte-5-preview/src/routes/docs/content/01-api/02-runes.md +++ b/sites/svelte-5-preview/src/routes/docs/content/01-api/02-runes.md @@ -498,7 +498,7 @@ By default props are treated as readonly, meaning reassignments will not propaga Note that you can still use `export const` and `export function` to expose things to users of your component (if they're using `bind:this`, for example). -### `$bindable()` +## `$bindable` To declare props as bindable, use `$bindable()`. Besides using them as regular props, the parent can (_can_, not _must_) then also `bind:` to them.