pull/7857/head
Simon H 4 years ago committed by GitHub
parent f25ae2dc46
commit 2254c12131
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -757,14 +757,14 @@ Videos additionally have readonly `videoWidth` and `videoHeight` bindings.
Image elements (`<img>`) have two readonly bindings: Image elements (`<img>`) have two readonly bindings:
* `naturalWidth` (readonly) — the original width of the image * `naturalWidth` (readonly) — the original width of the image, available after the image has loaded
* `naturalHeight` (readonly) — the original height of the image * `naturalHeight` (readonly) — the original height of the image, available after the image has loaded
```sv ```sv
<img <img
bind:naturalWidth bind:naturalWidth
bind:naturalHeight bind:naturalHeight
></video> ></img>
``` ```
##### Block-level element bindings ##### Block-level element bindings

Loading…
Cancel
Save