[docs] document details binding (#6700)

pull/6721/head
Geoff Rich 3 years ago committed by GitHub
parent 0027a41934
commit 7e156c014e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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