docs: fix $bindable hash link (#11011)

* docs: fix $bindable hash link

* standardise
pull/11020/head
Ignatius Bagus 9 months ago committed by GitHub
parent 8c4769db37
commit 0fa9d16e53
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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). 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. To declare props as bindable, use `$bindable()`. Besides using them as regular props, the parent can (_can_, not _must_) then also `bind:` to them.

Loading…
Cancel
Save