docs: document details binding

pull/6700/head
Geoff Rich 5 years ago
parent 4f9a260ab1
commit 4f365053ed

@ -651,6 +651,19 @@ Elements with the `contenteditable` attribute support `innerHTML` and `textConte
<div contenteditable="true" bind:innerHTML={html}></div>
```
---
`<details>` elements support binding to the `open` property.
```sv
<details bind:open={isOpen}>
<summary>Details</summary>
<p>
Something small enough to escape casual notice.
</p>
</details>
```
##### Media element bindings
---

Loading…
Cancel
Save