You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/CanvasAPI.res
+6
Original file line number
Diff line number
Diff line change
@@ -120,6 +120,7 @@ type webGLPowerPreference =
120
120
/**
121
121
[See OffscreenCanvas on MDN](https://developer.mozilla.org/docs/Web/API/OffscreenCanvas)
122
122
*/
123
+
@editor.completeFrom(OffscreenCanvas)
123
124
typeoffscreenCanvas= {
124
125
...eventTarget,
125
126
/**
@@ -141,6 +142,7 @@ They can be set, to replace the bitmap with a new, transparent black bitmap of t
141
142
/**
142
143
[See ImageBitmap on MDN](https://developer.mozilla.org/docs/Web/API/ImageBitmap)
143
144
*/
145
+
@editor.completeFrom(ImageBitmap)
144
146
typeimageBitmap= {
145
147
/**
146
148
Returns the intrinsic width of the image, in CSS pixels.
@@ -271,6 +273,7 @@ type offscreenCanvasRenderingContext2D = {
271
273
/**
272
274
[See ImageBitmapRenderingContext on MDN](https://developer.mozilla.org/docs/Web/API/ImageBitmapRenderingContext)
273
275
*/
276
+
@editor.completeFrom(ImageBitmapRenderingContext)
274
277
typeimageBitmapRenderingContext= {
275
278
/**
276
279
Returns the canvas element that the context is bound to.
@@ -336,18 +339,21 @@ type webGL2RenderingContext = {
336
339
An opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient() or CanvasRenderingContext2D.createRadialGradient().
337
340
[See CanvasGradient on MDN](https://developer.mozilla.org/docs/Web/API/CanvasGradient)
338
341
*/
342
+
@editor.completeFrom(CanvasGradient)
339
343
typecanvasGradient= {}
340
344
341
345
/**
342
346
An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method.
343
347
[See CanvasPattern on MDN](https://developer.mozilla.org/docs/Web/API/CanvasPattern)
344
348
*/
349
+
@editor.completeFrom(CanvasPattern)
345
350
typecanvasPattern= {}
346
351
347
352
/**
348
353
This Canvas 2D API interface is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired.
349
354
[See Path2D on MDN](https://developer.mozilla.org/docs/Web/API/Path2D)
Copy file name to clipboardExpand all lines: src/ChannelMessagingAPI.res
+1
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ open EventAPI
6
6
This Channel Messaging API interface represents one of the two ports of a MessageChannel, allowing messages to be sent from one port and listening out for them arriving at the other.
7
7
[See MessagePort on MDN](https://developer.mozilla.org/docs/Web/API/MessagePort)
0 commit comments