ImageBitmap: width property
Note: This feature is available in Web Workers.
The ImageBitmap.width
read-only property returns the ImageBitmap
object's width in CSS pixels.
Value
A number represents the ImageBitmap
object's width in CSS pixels.
Specifications
Specification |
---|
HTML # dom-imagebitmap-width-dev |
Browser compatibility
Report problems with this compatibility data on GitHubdesktop | mobile | server | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
width |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.