ImageBitmap.width
The read-only ImageBitmap.width
property returns the ImageBitmap
object's width in CSS pixels.
Specifications
Specification |
---|
HTML Standard (HTML) # dom-imagebitmap-width-dev |
Browser compatibility
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 |
No |
50 |
50 |
42 |
37 |
No |
5.0 |
© 2005–2021 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