The read-only ImageBitmap.width
property returns the ImageBitmap
object's width in CSS pixels.
The read-only ImageBitmap.width
property returns the ImageBitmap
object's width in CSS pixels.
Specification |
---|
HTML Standard # dom-imagebitmap-width-dev |
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
width |
50 | 79 | 42 | No | 37 | 15 | 50 | 50 | 42 | 37 | 15 | 5.0 |
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap/width