File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
dom/src/main/scala/org/scalajs/dom Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -15465,7 +15465,7 @@ ImageBitmap[JT] def width: Double
1546515465ImageCapture[JC] def grabFrame(): js.Promise[ImageBitmap]
1546615466ImageCapture[JC] def takePhoto(): js.Promise[Blob]
1546715467ImageCapture[JC] val track: MediaStreamTrack
15468- ImageData[JC] def data: js.Array[Int]
15468+ ImageData[JC] def data: js.typedarray.Uint8ClampedArray
1546915469ImageData[JC] def height: Int
1547015470ImageData[JC] def width: Int
1547115471InputEvent[JC] def bubbles: Boolean
Original file line number Diff line number Diff line change @@ -15465,7 +15465,7 @@ ImageBitmap[JT] def width: Double
1546515465ImageCapture[JC] def grabFrame(): js.Promise[ImageBitmap]
1546615466ImageCapture[JC] def takePhoto(): js.Promise[Blob]
1546715467ImageCapture[JC] val track: MediaStreamTrack
15468- ImageData[JC] def data: js.Array[Int]
15468+ ImageData[JC] def data: js.typedarray.Uint8ClampedArray
1546915469ImageData[JC] def height: Int
1547015470ImageData[JC] def width: Int
1547115471InputEvent[JC] def bubbles: Boolean
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class ImageData extends js.Object {
2323 /** Is a Uint8ClampedArray representing a one-dimensional array containing the data in the RGBA order, with integer
2424 * values between 0 and 255 (included).
2525 */
26- def data : js.Array [ Int ] = js.native
26+ def data : js.typedarray. Uint8ClampedArray = js.native
2727
2828 /** Is an unsigned long representing the actual height, in pixels, of the ImageData. */
2929 def height : Int = js.native
You can’t perform that action at this time.
0 commit comments