ImageBitmap.width

The read-only ImageBitmap.width property returns the ImageBitmap object's width in CSS pixels.

Specifications

Specification Status Comment
WHATWG HTML Living Standard
The definition of 'ImageBitmap.height' in that specification.
Living Standard Initial definition.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support (Yes) 42 (42) ? ? ?
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? (Yes) 42.0 (42) ? ? (Yes)

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/imagebitmap/width

API Canvas ImageBitmap Property Reference