1 module spasm.bindings.html;
2 
3 import spasm.types;
4 import spasm.bindings.clipboard;
5 import spasm.bindings.common;
6 import spasm.bindings.cssom;
7 import spasm.bindings.cssomview;
8 import spasm.bindings.dom;
9 import spasm.bindings.domhighrestimestamp;
10 import spasm.bindings.encoding;
11 import spasm.bindings.fetch;
12 import spasm.bindings.fileapi;
13 import spasm.bindings.geometry;
14 import spasm.bindings.indexeddb;
15 import spasm.bindings.mediasource;
16 import spasm.bindings.mediastream;
17 import spasm.bindings.notifications;
18 import spasm.bindings.permissions;
19 import spasm.bindings.serviceworker;
20 import spasm.bindings.streams;
21 import spasm.bindings.svg;
22 import spasm.bindings.uievents;
23 import spasm.bindings.url;
24 import spasm.bindings.vibration;
25 import spasm.bindings.webappsec;
26 import spasm.bindings.webgl2;
27 import spasm.bindings.webgl;
28 import spasm.bindings.xhr;
29 
30 @safe:
31 nothrow:
32 
33 struct ApplicationCache {
34   nothrow:
35   spasm.bindings.dom.EventTarget _parent;
36   alias _parent this;
37   this(Handle h) {
38     _parent = .EventTarget(h);
39   }
40   enum ushort UNCACHED = 0;
41   enum ushort IDLE = 1;
42   enum ushort CHECKING = 2;
43   enum ushort DOWNLOADING = 3;
44   enum ushort UPDATEREADY = 4;
45   enum ushort OBSOLETE = 5;
46   auto status()() {
47     return ApplicationCache_status_Get(this._parent);
48   }
49   void update()() {
50     ApplicationCache_update(this._parent);
51   }
52   void abort()() {
53     ApplicationCache_abort(this._parent);
54   }
55   void swapCache()() {
56     ApplicationCache_swapCache(this._parent);
57   }
58   void onchecking()(EventHandler onchecking) {
59     ApplicationCache_onchecking_Set(this._parent, onchecking);
60   }
61   auto onchecking()() {
62     return ApplicationCache_onchecking_Get(this._parent);
63   }
64   void onerror()(EventHandler onerror) {
65     ApplicationCache_onerror_Set(this._parent, onerror);
66   }
67   auto onerror()() {
68     return ApplicationCache_onerror_Get(this._parent);
69   }
70   void onnoupdate()(EventHandler onnoupdate) {
71     ApplicationCache_onnoupdate_Set(this._parent, onnoupdate);
72   }
73   auto onnoupdate()() {
74     return ApplicationCache_onnoupdate_Get(this._parent);
75   }
76   void ondownloading()(EventHandler ondownloading) {
77     ApplicationCache_ondownloading_Set(this._parent, ondownloading);
78   }
79   auto ondownloading()() {
80     return ApplicationCache_ondownloading_Get(this._parent);
81   }
82   void onprogress()(EventHandler onprogress) {
83     ApplicationCache_onprogress_Set(this._parent, onprogress);
84   }
85   auto onprogress()() {
86     return ApplicationCache_onprogress_Get(this._parent);
87   }
88   void onupdateready()(EventHandler onupdateready) {
89     ApplicationCache_onupdateready_Set(this._parent, onupdateready);
90   }
91   auto onupdateready()() {
92     return ApplicationCache_onupdateready_Get(this._parent);
93   }
94   void oncached()(EventHandler oncached) {
95     ApplicationCache_oncached_Set(this._parent, oncached);
96   }
97   auto oncached()() {
98     return ApplicationCache_oncached_Get(this._parent);
99   }
100   void onobsolete()(EventHandler onobsolete) {
101     ApplicationCache_onobsolete_Set(this._parent, onobsolete);
102   }
103   auto onobsolete()() {
104     return ApplicationCache_onobsolete_Get(this._parent);
105   }
106 }
107 struct AssignedNodesOptions {
108   nothrow:
109   JsHandle handle;
110   alias handle this;
111   this(Handle h) {
112     this.handle = JsHandle(h);
113   }
114   static auto create() {
115     return AssignedNodesOptions(spasm_add__object());
116   }
117   void flatten()(bool flatten) {
118     AssignedNodesOptions_flatten_Set(this.handle, flatten);
119   }
120   auto flatten()() {
121     return AssignedNodesOptions_flatten_Get(this.handle);
122   }
123 }
124 struct AudioTrack {
125   nothrow:
126   JsHandle handle;
127   alias handle this;
128   this(Handle h) {
129     this.handle = JsHandle(h);
130   }
131   auto id()() {
132     return AudioTrack_id_Get(this.handle);
133   }
134   auto kind()() {
135     return AudioTrack_kind_Get(this.handle);
136   }
137   auto label()() {
138     return AudioTrack_label_Get(this.handle);
139   }
140   auto language()() {
141     return AudioTrack_language_Get(this.handle);
142   }
143   void enabled()(bool enabled) {
144     AudioTrack_enabled_Set(this.handle, enabled);
145   }
146   auto enabled()() {
147     return AudioTrack_enabled_Get(this.handle);
148   }
149   auto sourceBuffer()() {
150     return AudioTrack_sourceBuffer_Get(this.handle);
151   }
152 }
153 struct AudioTrackList {
154   nothrow:
155   spasm.bindings.dom.EventTarget _parent;
156   alias _parent this;
157   this(Handle h) {
158     _parent = .EventTarget(h);
159   }
160   auto length()() {
161     return AudioTrackList_length_Get(this._parent);
162   }
163   auto opIndex()(uint index) {
164     return AudioTrack(AudioTrackList_getter__uint(this._parent, index));
165   }
166   auto opDispatch(uint index)() {
167     return AudioTrack(AudioTrackList_getter__uint(this._parent, index));
168   }
169   auto getTrackById()(string id) {
170     return AudioTrackList_getTrackById(this._parent, id);
171   }
172   void onchange()(EventHandler onchange) {
173     AudioTrackList_onchange_Set(this._parent, onchange);
174   }
175   auto onchange()() {
176     return AudioTrackList_onchange_Get(this._parent);
177   }
178   void onaddtrack()(EventHandler onaddtrack) {
179     AudioTrackList_onaddtrack_Set(this._parent, onaddtrack);
180   }
181   auto onaddtrack()() {
182     return AudioTrackList_onaddtrack_Get(this._parent);
183   }
184   void onremovetrack()(EventHandler onremovetrack) {
185     AudioTrackList_onremovetrack_Set(this._parent, onremovetrack);
186   }
187   auto onremovetrack()() {
188     return AudioTrackList_onremovetrack_Get(this._parent);
189   }
190 }
191 struct BarProp {
192   nothrow:
193   JsHandle handle;
194   alias handle this;
195   this(Handle h) {
196     this.handle = JsHandle(h);
197   }
198   auto visible()() {
199     return BarProp_visible_Get(this.handle);
200   }
201 }
202 struct BeforeUnloadEvent {
203   nothrow:
204   spasm.bindings.dom.Event _parent;
205   alias _parent this;
206   this(Handle h) {
207     _parent = .Event(h);
208   }
209   void returnValue()(string returnValue) {
210     BeforeUnloadEvent_returnValue_Set(this._parent, returnValue);
211   }
212   auto returnValue()() {
213     return BeforeUnloadEvent_returnValue_Get(this._parent);
214   }
215 }
216 enum BinaryType {
217   blob,
218   arraybuffer
219 }
220 alias BlobCallback = void delegate(Optional!(Blob));
221 struct BroadcastChannel {
222   nothrow:
223   spasm.bindings.dom.EventTarget _parent;
224   alias _parent this;
225   this(Handle h) {
226     _parent = .EventTarget(h);
227   }
228   auto name()() {
229     return BroadcastChannel_name_Get(this._parent);
230   }
231   void postMessage(T0)(scope auto ref T0 message) {
232     Handle _handle_message = getOrCreateHandle(message);
233     BroadcastChannel_postMessage(this._parent, _handle_message);
234     dropHandle!(T0)(_handle_message);
235   }
236   void close()() {
237     BroadcastChannel_close(this._parent);
238   }
239   void onmessage()(EventHandler onmessage) {
240     BroadcastChannel_onmessage_Set(this._parent, onmessage);
241   }
242   auto onmessage()() {
243     return BroadcastChannel_onmessage_Get(this._parent);
244   }
245   void onmessageerror()(EventHandler onmessageerror) {
246     BroadcastChannel_onmessageerror_Set(this._parent, onmessageerror);
247   }
248   auto onmessageerror()() {
249     return BroadcastChannel_onmessageerror_Get(this._parent);
250   }
251 }
252 enum CanPlayTypeResult {
253   none,
254   maybe,
255   probably
256 }
257 enum CanvasDirection {
258   ltr,
259   rtl,
260   inherit
261 }
262 enum CanvasFillRule {
263   nonzero,
264   evenodd
265 }
266 struct CanvasGradient {
267   nothrow:
268   JsHandle handle;
269   alias handle this;
270   this(Handle h) {
271     this.handle = JsHandle(h);
272   }
273   void addColorStop()(double offset, string color) {
274     CanvasGradient_addColorStop(this.handle, offset, color);
275   }
276 }
277 alias CanvasImageSource = SumType!(HTMLOrSVGImageElement, HTMLVideoElement, HTMLCanvasElement, ImageBitmap, OffscreenCanvas);
278 enum CanvasLineCap {
279   butt,
280   round,
281   square
282 }
283 enum CanvasLineJoin {
284   round,
285   bevel,
286   miter
287 }
288 struct CanvasPattern {
289   nothrow:
290   JsHandle handle;
291   alias handle this;
292   this(Handle h) {
293     this.handle = JsHandle(h);
294   }
295   void setTransform()(scope ref DOMMatrix2DInit transform) {
296     CanvasPattern_setTransform(this.handle, transform.handle);
297   }
298   void setTransform()() {
299     CanvasPattern_setTransform_0(this.handle);
300   }
301 }
302 struct CanvasRenderingContext2D {
303   nothrow:
304   JsHandle handle;
305   alias handle this;
306   this(Handle h) {
307     this.handle = JsHandle(h);
308   }
309   auto canvas()() {
310     return HTMLCanvasElement(CanvasRenderingContext2D_canvas_Get(this.handle));
311   }
312   void closePath()() {
313     CanvasPath_closePath(this.handle);
314   }
315   void moveTo()(double x, double y) {
316     CanvasPath_moveTo(this.handle, x, y);
317   }
318   void lineTo()(double x, double y) {
319     CanvasPath_lineTo(this.handle, x, y);
320   }
321   void quadraticCurveTo()(double cpx, double cpy, double x, double y) {
322     CanvasPath_quadraticCurveTo(this.handle, cpx, cpy, x, y);
323   }
324   void bezierCurveTo()(double cp1x, double cp1y, double cp2x, double cp2y, double x, double y) {
325     CanvasPath_bezierCurveTo(this.handle, cp1x, cp1y, cp2x, cp2y, x, y);
326   }
327   void arcTo()(double x1, double y1, double x2, double y2, double radius) {
328     CanvasPath_arcTo(this.handle, x1, y1, x2, y2, radius);
329   }
330   void rect()(double x, double y, double w, double h) {
331     CanvasPath_rect(this.handle, x, y, w, h);
332   }
333   void arc()(double x, double y, double radius, double startAngle, double endAngle, bool anticlockwise /* = false */) {
334     CanvasPath_arc(this.handle, x, y, radius, startAngle, endAngle, anticlockwise);
335   }
336   void arc()(double x, double y, double radius, double startAngle, double endAngle) {
337     CanvasPath_arc_0(this.handle, x, y, radius, startAngle, endAngle);
338   }
339   void ellipse()(double x, double y, double radiusX, double radiusY, double rotation, double startAngle, double endAngle, bool anticlockwise /* = false */) {
340     CanvasPath_ellipse(this.handle, x, y, radiusX, radiusY, rotation, startAngle, endAngle, anticlockwise);
341   }
342   void ellipse()(double x, double y, double radiusX, double radiusY, double rotation, double startAngle, double endAngle) {
343     CanvasPath_ellipse_0(this.handle, x, y, radiusX, radiusY, rotation, startAngle, endAngle);
344   }
345   void font()(string font) {
346     CanvasTextDrawingStyles_font_Set(this.handle, font);
347   }
348   auto font()() {
349     return CanvasTextDrawingStyles_font_Get(this.handle);
350   }
351   void textAlign()(CanvasTextAlign textAlign) {
352     CanvasTextDrawingStyles_textAlign_Set(this.handle, textAlign);
353   }
354   auto textAlign()() {
355     return CanvasTextDrawingStyles_textAlign_Get(this.handle);
356   }
357   void textBaseline()(CanvasTextBaseline textBaseline) {
358     CanvasTextDrawingStyles_textBaseline_Set(this.handle, textBaseline);
359   }
360   auto textBaseline()() {
361     return CanvasTextDrawingStyles_textBaseline_Get(this.handle);
362   }
363   void direction()(CanvasDirection direction) {
364     CanvasTextDrawingStyles_direction_Set(this.handle, direction);
365   }
366   auto direction()() {
367     return CanvasTextDrawingStyles_direction_Get(this.handle);
368   }
369   void lineWidth()(double lineWidth) {
370     CanvasPathDrawingStyles_lineWidth_Set(this.handle, lineWidth);
371   }
372   auto lineWidth()() {
373     return CanvasPathDrawingStyles_lineWidth_Get(this.handle);
374   }
375   void lineCap()(CanvasLineCap lineCap) {
376     CanvasPathDrawingStyles_lineCap_Set(this.handle, lineCap);
377   }
378   auto lineCap()() {
379     return CanvasPathDrawingStyles_lineCap_Get(this.handle);
380   }
381   void lineJoin()(CanvasLineJoin lineJoin) {
382     CanvasPathDrawingStyles_lineJoin_Set(this.handle, lineJoin);
383   }
384   auto lineJoin()() {
385     return CanvasPathDrawingStyles_lineJoin_Get(this.handle);
386   }
387   void miterLimit()(double miterLimit) {
388     CanvasPathDrawingStyles_miterLimit_Set(this.handle, miterLimit);
389   }
390   auto miterLimit()() {
391     return CanvasPathDrawingStyles_miterLimit_Get(this.handle);
392   }
393   void setLineDash()(scope ref Sequence!(double) segments) {
394     CanvasPathDrawingStyles_setLineDash(this.handle, segments.handle);
395   }
396   auto getLineDash()() {
397     return Sequence!(double)(CanvasPathDrawingStyles_getLineDash(this.handle));
398   }
399   void lineDashOffset()(double lineDashOffset) {
400     CanvasPathDrawingStyles_lineDashOffset_Set(this.handle, lineDashOffset);
401   }
402   auto lineDashOffset()() {
403     return CanvasPathDrawingStyles_lineDashOffset_Get(this.handle);
404   }
405   auto createImageData()(int sw, int sh) {
406     return ImageData(CanvasImageData_createImageData__int_int(this.handle, sw, sh));
407   }
408   auto createImageData()(scope ref ImageData imagedata) {
409     return ImageData(CanvasImageData_createImageData__Handle(this.handle, imagedata.handle));
410   }
411   auto getImageData()(int sx, int sy, int sw, int sh) {
412     return ImageData(CanvasImageData_getImageData(this.handle, sx, sy, sw, sh));
413   }
414   void putImageData()(scope ref ImageData imagedata, int dx, int dy) {
415     CanvasImageData_putImageData__Handle_int_int(this.handle, imagedata.handle, dx, dy);
416   }
417   void putImageData()(scope ref ImageData imagedata, int dx, int dy, int dirtyX, int dirtyY, int dirtyWidth, int dirtyHeight) {
418     CanvasImageData_putImageData__Handle_int_int_int_int_int_int(this.handle, imagedata.handle, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight);
419   }
420   void drawImage()(scope ref CanvasImageSource image, double dx, double dy) {
421     CanvasDrawImage_drawImage__CanvasImageSource_double_double(this.handle, image, dx, dy);
422   }
423   void drawImage()(scope ref CanvasImageSource image, double dx, double dy, double dw, double dh) {
424     CanvasDrawImage_drawImage__CanvasImageSource_double_double_double_double(this.handle, image, dx, dy, dw, dh);
425   }
426   void drawImage()(scope ref CanvasImageSource image, double sx, double sy, double sw, double sh, double dx, double dy, double dw, double dh) {
427     CanvasDrawImage_drawImage__CanvasImageSource_double_double_double_double_double_double_double_double(this.handle, image, sx, sy, sw, sh, dx, dy, dw, dh);
428   }
429   void fillText()(string text, double x, double y, double maxWidth) {
430     CanvasText_fillText(this.handle, text, x, y, maxWidth);
431   }
432   void fillText()(string text, double x, double y) {
433     CanvasText_fillText_0(this.handle, text, x, y);
434   }
435   void strokeText()(string text, double x, double y, double maxWidth) {
436     CanvasText_strokeText(this.handle, text, x, y, maxWidth);
437   }
438   void strokeText()(string text, double x, double y) {
439     CanvasText_strokeText_0(this.handle, text, x, y);
440   }
441   auto measureText()(string text) {
442     return TextMetrics(CanvasText_measureText(this.handle, text));
443   }
444   void drawFocusIfNeeded()(scope ref Element element) {
445     CanvasUserInterface_drawFocusIfNeeded__Handle(this.handle, element._parent);
446   }
447   void drawFocusIfNeeded()(scope ref Path2D path, scope ref Element element) {
448     CanvasUserInterface_drawFocusIfNeeded__Handle_Handle(this.handle, path.handle, element._parent);
449   }
450   void scrollPathIntoView()() {
451     CanvasUserInterface_scrollPathIntoView__(this.handle);
452   }
453   void scrollPathIntoView()(scope ref Path2D path) {
454     CanvasUserInterface_scrollPathIntoView__Handle(this.handle, path.handle);
455   }
456   void beginPath()() {
457     CanvasDrawPath_beginPath(this.handle);
458   }
459   void fill()(CanvasFillRule fillRule /* = "nonzero" */) {
460     CanvasDrawPath_fill__CanvasFillRule(this.handle, fillRule);
461   }
462   void fill()() {
463     CanvasDrawPath_fill_0_(this.handle);
464   }
465   void fill()(scope ref Path2D path, CanvasFillRule fillRule /* = "nonzero" */) {
466     CanvasDrawPath_fill__Handle_CanvasFillRule(this.handle, path.handle, fillRule);
467   }
468   void fill()(scope ref Path2D path) {
469     CanvasDrawPath_fill_0_Handle(this.handle, path.handle);
470   }
471   void stroke()() {
472     CanvasDrawPath_stroke__(this.handle);
473   }
474   void stroke()(scope ref Path2D path) {
475     CanvasDrawPath_stroke__Handle(this.handle, path.handle);
476   }
477   void clip()(CanvasFillRule fillRule /* = "nonzero" */) {
478     CanvasDrawPath_clip__CanvasFillRule(this.handle, fillRule);
479   }
480   void clip()() {
481     CanvasDrawPath_clip_0_(this.handle);
482   }
483   void clip()(scope ref Path2D path, CanvasFillRule fillRule /* = "nonzero" */) {
484     CanvasDrawPath_clip__Handle_CanvasFillRule(this.handle, path.handle, fillRule);
485   }
486   void clip()(scope ref Path2D path) {
487     CanvasDrawPath_clip_0_Handle(this.handle, path.handle);
488   }
489   auto isPointInPath()(double x, double y, CanvasFillRule fillRule /* = "nonzero" */) {
490     return CanvasDrawPath_isPointInPath__double_double_CanvasFillRule(this.handle, x, y, fillRule);
491   }
492   auto isPointInPath()(double x, double y) {
493     return CanvasDrawPath_isPointInPath_0_double_double(this.handle, x, y);
494   }
495   auto isPointInPath()(scope ref Path2D path, double x, double y, CanvasFillRule fillRule /* = "nonzero" */) {
496     return CanvasDrawPath_isPointInPath__Handle_double_double_CanvasFillRule(this.handle, path.handle, x, y, fillRule);
497   }
498   auto isPointInPath()(scope ref Path2D path, double x, double y) {
499     return CanvasDrawPath_isPointInPath_0_Handle_double_double(this.handle, path.handle, x, y);
500   }
501   auto isPointInStroke()(double x, double y) {
502     return CanvasDrawPath_isPointInStroke__double_double(this.handle, x, y);
503   }
504   auto isPointInStroke()(scope ref Path2D path, double x, double y) {
505     return CanvasDrawPath_isPointInStroke__Handle_double_double(this.handle, path.handle, x, y);
506   }
507   void clearRect()(double x, double y, double w, double h) {
508     CanvasRect_clearRect(this.handle, x, y, w, h);
509   }
510   void fillRect()(double x, double y, double w, double h) {
511     CanvasRect_fillRect(this.handle, x, y, w, h);
512   }
513   void strokeRect()(double x, double y, double w, double h) {
514     CanvasRect_strokeRect(this.handle, x, y, w, h);
515   }
516   void filter()(string filter) {
517     CanvasFilters_filter_Set(this.handle, filter);
518   }
519   auto filter()() {
520     return CanvasFilters_filter_Get(this.handle);
521   }
522   void shadowOffsetX()(double shadowOffsetX) {
523     CanvasShadowStyles_shadowOffsetX_Set(this.handle, shadowOffsetX);
524   }
525   auto shadowOffsetX()() {
526     return CanvasShadowStyles_shadowOffsetX_Get(this.handle);
527   }
528   void shadowOffsetY()(double shadowOffsetY) {
529     CanvasShadowStyles_shadowOffsetY_Set(this.handle, shadowOffsetY);
530   }
531   auto shadowOffsetY()() {
532     return CanvasShadowStyles_shadowOffsetY_Get(this.handle);
533   }
534   void shadowBlur()(double shadowBlur) {
535     CanvasShadowStyles_shadowBlur_Set(this.handle, shadowBlur);
536   }
537   auto shadowBlur()() {
538     return CanvasShadowStyles_shadowBlur_Get(this.handle);
539   }
540   void shadowColor()(string shadowColor) {
541     CanvasShadowStyles_shadowColor_Set(this.handle, shadowColor);
542   }
543   auto shadowColor()() {
544     return CanvasShadowStyles_shadowColor_Get(this.handle);
545   }
546   void strokeStyle()(scope ref SumType!(string, CanvasGradient, CanvasPattern) strokeStyle) {
547     CanvasFillStrokeStyles_strokeStyle_Set(this.handle, strokeStyle);
548   }
549   auto strokeStyle()() {
550     return CanvasFillStrokeStyles_strokeStyle_Get(this.handle);
551   }
552   void fillStyle()(scope ref SumType!(string, CanvasGradient, CanvasPattern) fillStyle) {
553     CanvasFillStrokeStyles_fillStyle_Set(this.handle, fillStyle);
554   }
555   auto fillStyle()() {
556     return CanvasFillStrokeStyles_fillStyle_Get(this.handle);
557   }
558   auto createLinearGradient()(double x0, double y0, double x1, double y1) {
559     return CanvasGradient(CanvasFillStrokeStyles_createLinearGradient(this.handle, x0, y0, x1, y1));
560   }
561   auto createRadialGradient()(double x0, double y0, double r0, double x1, double y1, double r1) {
562     return CanvasGradient(CanvasFillStrokeStyles_createRadialGradient(this.handle, x0, y0, r0, x1, y1, r1));
563   }
564   auto createPattern()(scope ref CanvasImageSource image, string repetition) {
565     return CanvasFillStrokeStyles_createPattern(this.handle, image, repetition);
566   }
567   void imageSmoothingEnabled()(bool imageSmoothingEnabled) {
568     CanvasImageSmoothing_imageSmoothingEnabled_Set(this.handle, imageSmoothingEnabled);
569   }
570   auto imageSmoothingEnabled()() {
571     return CanvasImageSmoothing_imageSmoothingEnabled_Get(this.handle);
572   }
573   void imageSmoothingQuality()(ImageSmoothingQuality imageSmoothingQuality) {
574     CanvasImageSmoothing_imageSmoothingQuality_Set(this.handle, imageSmoothingQuality);
575   }
576   auto imageSmoothingQuality()() {
577     return CanvasImageSmoothing_imageSmoothingQuality_Get(this.handle);
578   }
579   void globalAlpha()(double globalAlpha) {
580     CanvasCompositing_globalAlpha_Set(this.handle, globalAlpha);
581   }
582   auto globalAlpha()() {
583     return CanvasCompositing_globalAlpha_Get(this.handle);
584   }
585   void globalCompositeOperation()(string globalCompositeOperation) {
586     CanvasCompositing_globalCompositeOperation_Set(this.handle, globalCompositeOperation);
587   }
588   auto globalCompositeOperation()() {
589     return CanvasCompositing_globalCompositeOperation_Get(this.handle);
590   }
591   void scale()(double x, double y) {
592     CanvasTransform_scale(this.handle, x, y);
593   }
594   void rotate()(double angle) {
595     CanvasTransform_rotate(this.handle, angle);
596   }
597   void translate()(double x, double y) {
598     CanvasTransform_translate(this.handle, x, y);
599   }
600   void transform()(double a, double b, double c, double d, double e, double f) {
601     CanvasTransform_transform(this.handle, a, b, c, d, e, f);
602   }
603   auto getTransform()() {
604     return DOMMatrix(CanvasTransform_getTransform(this.handle));
605   }
606   void setTransform()(double a, double b, double c, double d, double e, double f) {
607     CanvasTransform_setTransform__double_double_double_double_double_double(this.handle, a, b, c, d, e, f);
608   }
609   void setTransform()(scope ref DOMMatrix2DInit transform) {
610     CanvasTransform_setTransform__Handle(this.handle, transform.handle);
611   }
612   void setTransform()() {
613     CanvasTransform_setTransform_0(this.handle);
614   }
615   void resetTransform()() {
616     CanvasTransform_resetTransform(this.handle);
617   }
618   void save()() {
619     CanvasState_save(this.handle);
620   }
621   void restore()() {
622     CanvasState_restore(this.handle);
623   }
624 }
625 struct CanvasRenderingContext2DSettings {
626   nothrow:
627   JsHandle handle;
628   alias handle this;
629   this(Handle h) {
630     this.handle = JsHandle(h);
631   }
632   static auto create() {
633     return CanvasRenderingContext2DSettings(spasm_add__object());
634   }
635   void alpha()(bool alpha) {
636     CanvasRenderingContext2DSettings_alpha_Set(this.handle, alpha);
637   }
638   auto alpha()() {
639     return CanvasRenderingContext2DSettings_alpha_Get(this.handle);
640   }
641 }
642 enum CanvasTextAlign {
643   start,
644   end,
645   left,
646   right,
647   center
648 }
649 enum CanvasTextBaseline {
650   top,
651   hanging,
652   middle,
653   alphabetic,
654   ideographic,
655   bottom
656 }
657 struct CloseEvent {
658   nothrow:
659   spasm.bindings.dom.Event _parent;
660   alias _parent this;
661   this(Handle h) {
662     _parent = .Event(h);
663   }
664   auto wasClean()() {
665     return CloseEvent_wasClean_Get(this._parent);
666   }
667   auto code()() {
668     return CloseEvent_code_Get(this._parent);
669   }
670   auto reason()() {
671     return CloseEvent_reason_Get(this._parent);
672   }
673 }
674 struct CloseEventInit {
675   nothrow:
676   spasm.bindings.dom.EventInit _parent;
677   alias _parent this;
678   this(Handle h) {
679     _parent = .EventInit(h);
680   }
681   static auto create() {
682     return CloseEventInit(spasm_add__object());
683   }
684   void wasClean()(bool wasClean) {
685     CloseEventInit_wasClean_Set(this._parent, wasClean);
686   }
687   auto wasClean()() {
688     return CloseEventInit_wasClean_Get(this._parent);
689   }
690   void code()(ushort code) {
691     CloseEventInit_code_Set(this._parent, code);
692   }
693   auto code()() {
694     return CloseEventInit_code_Get(this._parent);
695   }
696   void reason()(string reason) {
697     CloseEventInit_reason_Set(this._parent, reason);
698   }
699   auto reason()() {
700     return CloseEventInit_reason_Get(this._parent);
701   }
702 }
703 enum ColorSpaceConversion {
704   none,
705   default_
706 }
707 alias CustomElementConstructor = Any delegate();
708 struct CustomElementRegistry {
709   nothrow:
710   JsHandle handle;
711   alias handle this;
712   this(Handle h) {
713     this.handle = JsHandle(h);
714   }
715   void define()(string name, CustomElementConstructor constructor, scope ref ElementDefinitionOptions options) {
716     CustomElementRegistry_define(this.handle, name, constructor, options.handle);
717   }
718   void define()(string name, CustomElementConstructor constructor) {
719     CustomElementRegistry_define_0(this.handle, name, constructor);
720   }
721   auto get()(string name) {
722     return Any(CustomElementRegistry_get(this.handle, name));
723   }
724   auto whenDefined()(string name) {
725     return Promise!(void)(CustomElementRegistry_whenDefined(this.handle, name));
726   }
727   void upgrade()(scope ref Node root) {
728     CustomElementRegistry_upgrade(this.handle, root._parent);
729   }
730 }
731 struct DOMStringList {
732   nothrow:
733   JsHandle handle;
734   alias handle this;
735   this(Handle h) {
736     this.handle = JsHandle(h);
737   }
738   auto length()() {
739     return DOMStringList_length_Get(this.handle);
740   }
741   auto item()(uint index) {
742     return DOMStringList_item_getter(this.handle, index);
743   }
744   auto contains()(string string) {
745     return DOMStringList_contains(this.handle, string);
746   }
747 }
748 struct DOMStringMap {
749   nothrow:
750   JsHandle handle;
751   alias handle this;
752   this(Handle h) {
753     this.handle = JsHandle(h);
754   }
755   auto opIndex()(string name) {
756     return DOMStringMap_getter__string(this.handle, name);
757   }
758   auto opDispatch(string name)() {
759     return DOMStringMap_getter__string(this.handle, name);
760   }
761   void opIndexAssign()(string value, string name) {
762     DOMStringMap_setter__string_string(this.handle, name, value);
763   }
764   void opDispatch(string name)(string value) {
765     DOMStringMap_setter__string_string(this.handle, name, value);
766   }
767   void remove()(string name) {
768     DOMStringMap_deleter(this.handle, name);
769   }
770 }
771 struct DataTransfer {
772   nothrow:
773   JsHandle handle;
774   alias handle this;
775   this(Handle h) {
776     this.handle = JsHandle(h);
777   }
778   void dropEffect()(string dropEffect) {
779     DataTransfer_dropEffect_Set(this.handle, dropEffect);
780   }
781   auto dropEffect()() {
782     return DataTransfer_dropEffect_Get(this.handle);
783   }
784   void effectAllowed()(string effectAllowed) {
785     DataTransfer_effectAllowed_Set(this.handle, effectAllowed);
786   }
787   auto effectAllowed()() {
788     return DataTransfer_effectAllowed_Get(this.handle);
789   }
790   auto items()() {
791     return DataTransferItemList(DataTransfer_items_Get(this.handle));
792   }
793   void setDragImage()(scope ref Element image, int x, int y) {
794     DataTransfer_setDragImage(this.handle, image._parent, x, y);
795   }
796   auto types()() {
797     return FrozenArray!(string)(DataTransfer_types_Get(this.handle));
798   }
799   auto getData()(string format) {
800     return DataTransfer_getData(this.handle, format);
801   }
802   void setData()(string format, string data) {
803     DataTransfer_setData(this.handle, format, data);
804   }
805   void clearData()(string format) {
806     DataTransfer_clearData(this.handle, format);
807   }
808   void clearData()() {
809     DataTransfer_clearData_0(this.handle);
810   }
811   auto files()() {
812     return FileList(DataTransfer_files_Get(this.handle));
813   }
814 }
815 struct DataTransferItem {
816   nothrow:
817   JsHandle handle;
818   alias handle this;
819   this(Handle h) {
820     this.handle = JsHandle(h);
821   }
822   auto kind()() {
823     return DataTransferItem_kind_Get(this.handle);
824   }
825   auto type()() {
826     return DataTransferItem_type_Get(this.handle);
827   }
828   void getAsString(T0)(scope auto ref Optional!(T0) _callback) if (isTOrPointer!(T0, FunctionStringCallback)) {
829     DataTransferItem_getAsString(this.handle, !_callback.empty, _callback.front);
830   }
831   auto getAsFile()() {
832     return DataTransferItem_getAsFile(this.handle);
833   }
834 }
835 struct DataTransferItemList {
836   nothrow:
837   JsHandle handle;
838   alias handle this;
839   this(Handle h) {
840     this.handle = JsHandle(h);
841   }
842   auto length()() {
843     return DataTransferItemList_length_Get(this.handle);
844   }
845   auto opIndex()(uint index) {
846     return DataTransferItem(DataTransferItemList_getter__uint(this.handle, index));
847   }
848   auto opDispatch(uint index)() {
849     return DataTransferItem(DataTransferItemList_getter__uint(this.handle, index));
850   }
851   auto add()(string data, string type) {
852     return DataTransferItemList_add__string_string(this.handle, data, type);
853   }
854   auto add()(scope ref File data) {
855     return DataTransferItemList_add__Handle(this.handle, data._parent);
856   }
857   void remove()(uint index) {
858     DataTransferItemList_remove(this.handle, index);
859   }
860   void clear()() {
861     DataTransferItemList_clear(this.handle);
862   }
863 }
864 struct DedicatedWorkerGlobalScope {
865   nothrow:
866   spasm.bindings.html.WorkerGlobalScope _parent;
867   alias _parent this;
868   this(Handle h) {
869     _parent = .WorkerGlobalScope(h);
870   }
871   auto name()() {
872     return DedicatedWorkerGlobalScope_name_Get(this._parent);
873   }
874   void postMessage(T0)(scope auto ref T0 message, scope ref Sequence!(JsObject) transfer) {
875     Handle _handle_message = getOrCreateHandle(message);
876     DedicatedWorkerGlobalScope_postMessage__Handle_sequence(this._parent, _handle_message, transfer.handle);
877     dropHandle!(T0)(_handle_message);
878   }
879   void postMessage(T0)(scope auto ref T0 message, scope ref PostMessageOptions options) {
880     Handle _handle_message = getOrCreateHandle(message);
881     DedicatedWorkerGlobalScope_postMessage__Handle_Handle(this._parent, _handle_message, options.handle);
882     dropHandle!(T0)(_handle_message);
883   }
884   void postMessage(T0)(scope auto ref T0 message) {
885     Handle _handle_message = getOrCreateHandle(message);
886     DedicatedWorkerGlobalScope_postMessage_0(this._parent, _handle_message);
887     dropHandle!(T0)(_handle_message);
888   }
889   void close()() {
890     DedicatedWorkerGlobalScope_close(this._parent);
891   }
892   void onmessage()(EventHandler onmessage) {
893     DedicatedWorkerGlobalScope_onmessage_Set(this._parent, onmessage);
894   }
895   auto onmessage()() {
896     return DedicatedWorkerGlobalScope_onmessage_Get(this._parent);
897   }
898   void onmessageerror()(EventHandler onmessageerror) {
899     DedicatedWorkerGlobalScope_onmessageerror_Set(this._parent, onmessageerror);
900   }
901   auto onmessageerror()() {
902     return DedicatedWorkerGlobalScope_onmessageerror_Get(this._parent);
903   }
904   auto requestAnimationFrame()(FrameRequestCallback callback) {
905     return AnimationFrameProvider_requestAnimationFrame(this._parent, callback);
906   }
907   void cancelAnimationFrame()(uint handle) {
908     AnimationFrameProvider_cancelAnimationFrame(this._parent, handle);
909   }
910 }
911 enum DocumentReadyState {
912   loading,
913   interactive,
914   complete
915 }
916 struct DragEvent {
917   nothrow:
918   spasm.bindings.uievents.MouseEvent _parent;
919   alias _parent this;
920   this(Handle h) {
921     _parent = .MouseEvent(h);
922   }
923   auto dataTransfer()() {
924     return DragEvent_dataTransfer_Get(this._parent);
925   }
926 }
927 struct DragEventInit {
928   nothrow:
929   spasm.bindings.uievents.MouseEventInit _parent;
930   alias _parent this;
931   this(Handle h) {
932     _parent = .MouseEventInit(h);
933   }
934   static auto create() {
935     return DragEventInit(spasm_add__object());
936   }
937   void dataTransfer(T0)(scope auto ref Optional!(T0) dataTransfer) if (isTOrPointer!(T0, DataTransfer)) {
938     DragEventInit_dataTransfer_Set(this._parent, !dataTransfer.empty, dataTransfer.front.handle);
939   }
940   auto dataTransfer()() {
941     return DragEventInit_dataTransfer_Get(this._parent);
942   }
943 }
944 struct ElementDefinitionOptions {
945   nothrow:
946   JsHandle handle;
947   alias handle this;
948   this(Handle h) {
949     this.handle = JsHandle(h);
950   }
951   static auto create() {
952     return ElementDefinitionOptions(spasm_add__object());
953   }
954   void extends()(string extends) {
955     ElementDefinitionOptions_extends_Set(this.handle, extends);
956   }
957   auto extends()() {
958     return ElementDefinitionOptions_extends_Get(this.handle);
959   }
960 }
961 struct ErrorEvent {
962   nothrow:
963   spasm.bindings.dom.Event _parent;
964   alias _parent this;
965   this(Handle h) {
966     _parent = .Event(h);
967   }
968   auto message()() {
969     return ErrorEvent_message_Get(this._parent);
970   }
971   auto filename()() {
972     return ErrorEvent_filename_Get(this._parent);
973   }
974   auto lineno()() {
975     return ErrorEvent_lineno_Get(this._parent);
976   }
977   auto colno()() {
978     return ErrorEvent_colno_Get(this._parent);
979   }
980   auto error()() {
981     return Any(ErrorEvent_error_Get(this._parent));
982   }
983 }
984 struct ErrorEventInit {
985   nothrow:
986   spasm.bindings.dom.EventInit _parent;
987   alias _parent this;
988   this(Handle h) {
989     _parent = .EventInit(h);
990   }
991   static auto create() {
992     return ErrorEventInit(spasm_add__object());
993   }
994   void message()(string message) {
995     ErrorEventInit_message_Set(this._parent, message);
996   }
997   auto message()() {
998     return ErrorEventInit_message_Get(this._parent);
999   }
1000   void filename()(string filename) {
1001     ErrorEventInit_filename_Set(this._parent, filename);
1002   }
1003   auto filename()() {
1004     return ErrorEventInit_filename_Get(this._parent);
1005   }
1006   void lineno()(uint lineno) {
1007     ErrorEventInit_lineno_Set(this._parent, lineno);
1008   }
1009   auto lineno()() {
1010     return ErrorEventInit_lineno_Get(this._parent);
1011   }
1012   void colno()(uint colno) {
1013     ErrorEventInit_colno_Set(this._parent, colno);
1014   }
1015   auto colno()() {
1016     return ErrorEventInit_colno_Get(this._parent);
1017   }
1018   void error(T0)(scope auto ref T0 error) {
1019     Handle _handle_error = getOrCreateHandle(error);
1020     ErrorEventInit_error_Set(this._parent, _handle_error);
1021     dropHandle!(T0)(_handle_error);
1022   }
1023   auto error()() {
1024     return Any(ErrorEventInit_error_Get(this._parent));
1025   }
1026 }
1027 alias EventHandler = EventHandlerNonNull;
1028 alias EventHandlerNonNull = Any delegate(Event);
1029 struct EventSource {
1030   nothrow:
1031   spasm.bindings.dom.EventTarget _parent;
1032   alias _parent this;
1033   this(Handle h) {
1034     _parent = .EventTarget(h);
1035   }
1036   auto url()() {
1037     return EventSource_url_Get(this._parent);
1038   }
1039   auto withCredentials()() {
1040     return EventSource_withCredentials_Get(this._parent);
1041   }
1042   enum ushort CONNECTING = 0;
1043   enum ushort OPEN = 1;
1044   enum ushort CLOSED = 2;
1045   auto readyState()() {
1046     return EventSource_readyState_Get(this._parent);
1047   }
1048   void onopen()(EventHandler onopen) {
1049     EventSource_onopen_Set(this._parent, onopen);
1050   }
1051   auto onopen()() {
1052     return EventSource_onopen_Get(this._parent);
1053   }
1054   void onmessage()(EventHandler onmessage) {
1055     EventSource_onmessage_Set(this._parent, onmessage);
1056   }
1057   auto onmessage()() {
1058     return EventSource_onmessage_Get(this._parent);
1059   }
1060   void onerror()(EventHandler onerror) {
1061     EventSource_onerror_Set(this._parent, onerror);
1062   }
1063   auto onerror()() {
1064     return EventSource_onerror_Get(this._parent);
1065   }
1066   void close()() {
1067     EventSource_close(this._parent);
1068   }
1069 }
1070 struct EventSourceInit {
1071   nothrow:
1072   JsHandle handle;
1073   alias handle this;
1074   this(Handle h) {
1075     this.handle = JsHandle(h);
1076   }
1077   static auto create() {
1078     return EventSourceInit(spasm_add__object());
1079   }
1080   void withCredentials()(bool withCredentials) {
1081     EventSourceInit_withCredentials_Set(this.handle, withCredentials);
1082   }
1083   auto withCredentials()() {
1084     return EventSourceInit_withCredentials_Get(this.handle);
1085   }
1086 }
1087 struct External {
1088   nothrow:
1089   JsHandle handle;
1090   alias handle this;
1091   this(Handle h) {
1092     this.handle = JsHandle(h);
1093   }
1094   void AddSearchProvider()() {
1095     External_AddSearchProvider(this.handle);
1096   }
1097   void IsSearchProviderInstalled()() {
1098     External_IsSearchProviderInstalled(this.handle);
1099   }
1100 }
1101 struct FocusOptions {
1102   nothrow:
1103   JsHandle handle;
1104   alias handle this;
1105   this(Handle h) {
1106     this.handle = JsHandle(h);
1107   }
1108   static auto create() {
1109     return FocusOptions(spasm_add__object());
1110   }
1111   void preventScroll()(bool preventScroll) {
1112     FocusOptions_preventScroll_Set(this.handle, preventScroll);
1113   }
1114   auto preventScroll()() {
1115     return FocusOptions_preventScroll_Get(this.handle);
1116   }
1117 }
1118 alias FrameRequestCallback = void delegate(double);
1119 alias FunctionStringCallback = void delegate(string);
1120 struct HTMLAllCollection {
1121   nothrow:
1122   JsHandle handle;
1123   alias handle this;
1124   this(Handle h) {
1125     this.handle = JsHandle(h);
1126   }
1127   auto length()() {
1128     return HTMLAllCollection_length_Get(this.handle);
1129   }
1130   auto opIndex()(uint index) {
1131     return Element(HTMLAllCollection_getter__uint(this.handle, index));
1132   }
1133   auto opDispatch(uint index)() {
1134     return Element(HTMLAllCollection_getter__uint(this.handle, index));
1135   }
1136   auto namedItem()(string name) {
1137     return HTMLAllCollection_namedItem_getter(this.handle, name);
1138   }
1139   auto item()(string nameOrIndex) {
1140     return HTMLAllCollection_item(this.handle, nameOrIndex);
1141   }
1142   auto item()() {
1143     return HTMLAllCollection_item_0(this.handle);
1144   }
1145 }
1146 struct HTMLAnchorElement {
1147   nothrow:
1148   spasm.bindings.html.HTMLElement _parent;
1149   alias _parent this;
1150   this(Handle h) {
1151     _parent = .HTMLElement(h);
1152   }
1153   void target()(string target) {
1154     HTMLAnchorElement_target_Set(this._parent, target);
1155   }
1156   auto target()() {
1157     return HTMLAnchorElement_target_Get(this._parent);
1158   }
1159   void download()(string download) {
1160     HTMLAnchorElement_download_Set(this._parent, download);
1161   }
1162   auto download()() {
1163     return HTMLAnchorElement_download_Get(this._parent);
1164   }
1165   void ping()(string ping) {
1166     HTMLAnchorElement_ping_Set(this._parent, ping);
1167   }
1168   auto ping()() {
1169     return HTMLAnchorElement_ping_Get(this._parent);
1170   }
1171   void rel()(string rel) {
1172     HTMLAnchorElement_rel_Set(this._parent, rel);
1173   }
1174   auto rel()() {
1175     return HTMLAnchorElement_rel_Get(this._parent);
1176   }
1177   auto relList()() {
1178     return DOMTokenList(HTMLAnchorElement_relList_Get(this._parent));
1179   }
1180   void hreflang()(string hreflang) {
1181     HTMLAnchorElement_hreflang_Set(this._parent, hreflang);
1182   }
1183   auto hreflang()() {
1184     return HTMLAnchorElement_hreflang_Get(this._parent);
1185   }
1186   void type()(string type) {
1187     HTMLAnchorElement_type_Set(this._parent, type);
1188   }
1189   auto type()() {
1190     return HTMLAnchorElement_type_Get(this._parent);
1191   }
1192   void text()(string text) {
1193     HTMLAnchorElement_text_Set(this._parent, text);
1194   }
1195   auto text()() {
1196     return HTMLAnchorElement_text_Get(this._parent);
1197   }
1198   void referrerPolicy()(string referrerPolicy) {
1199     HTMLAnchorElement_referrerPolicy_Set(this._parent, referrerPolicy);
1200   }
1201   auto referrerPolicy()() {
1202     return HTMLAnchorElement_referrerPolicy_Get(this._parent);
1203   }
1204   void coords()(string coords) {
1205     HTMLAnchorElement_coords_Set(this._parent, coords);
1206   }
1207   auto coords()() {
1208     return HTMLAnchorElement_coords_Get(this._parent);
1209   }
1210   void charset()(string charset) {
1211     HTMLAnchorElement_charset_Set(this._parent, charset);
1212   }
1213   auto charset()() {
1214     return HTMLAnchorElement_charset_Get(this._parent);
1215   }
1216   void name()(string name) {
1217     HTMLAnchorElement_name_Set(this._parent, name);
1218   }
1219   auto name()() {
1220     return HTMLAnchorElement_name_Get(this._parent);
1221   }
1222   void rev()(string rev) {
1223     HTMLAnchorElement_rev_Set(this._parent, rev);
1224   }
1225   auto rev()() {
1226     return HTMLAnchorElement_rev_Get(this._parent);
1227   }
1228   void shape()(string shape) {
1229     HTMLAnchorElement_shape_Set(this._parent, shape);
1230   }
1231   auto shape()() {
1232     return HTMLAnchorElement_shape_Get(this._parent);
1233   }
1234   void href()(string href) {
1235     HTMLHyperlinkElementUtils_href_Set(this._parent, href);
1236   }
1237   auto href()() {
1238     return HTMLHyperlinkElementUtils_href_Get(this._parent);
1239   }
1240   auto origin()() {
1241     return HTMLHyperlinkElementUtils_origin_Get(this._parent);
1242   }
1243   void protocol()(string protocol) {
1244     HTMLHyperlinkElementUtils_protocol_Set(this._parent, protocol);
1245   }
1246   auto protocol()() {
1247     return HTMLHyperlinkElementUtils_protocol_Get(this._parent);
1248   }
1249   void username()(string username) {
1250     HTMLHyperlinkElementUtils_username_Set(this._parent, username);
1251   }
1252   auto username()() {
1253     return HTMLHyperlinkElementUtils_username_Get(this._parent);
1254   }
1255   void password()(string password) {
1256     HTMLHyperlinkElementUtils_password_Set(this._parent, password);
1257   }
1258   auto password()() {
1259     return HTMLHyperlinkElementUtils_password_Get(this._parent);
1260   }
1261   void host()(string host) {
1262     HTMLHyperlinkElementUtils_host_Set(this._parent, host);
1263   }
1264   auto host()() {
1265     return HTMLHyperlinkElementUtils_host_Get(this._parent);
1266   }
1267   void hostname()(string hostname) {
1268     HTMLHyperlinkElementUtils_hostname_Set(this._parent, hostname);
1269   }
1270   auto hostname()() {
1271     return HTMLHyperlinkElementUtils_hostname_Get(this._parent);
1272   }
1273   void port()(string port) {
1274     HTMLHyperlinkElementUtils_port_Set(this._parent, port);
1275   }
1276   auto port()() {
1277     return HTMLHyperlinkElementUtils_port_Get(this._parent);
1278   }
1279   void pathname()(string pathname) {
1280     HTMLHyperlinkElementUtils_pathname_Set(this._parent, pathname);
1281   }
1282   auto pathname()() {
1283     return HTMLHyperlinkElementUtils_pathname_Get(this._parent);
1284   }
1285   void search()(string search) {
1286     HTMLHyperlinkElementUtils_search_Set(this._parent, search);
1287   }
1288   auto search()() {
1289     return HTMLHyperlinkElementUtils_search_Get(this._parent);
1290   }
1291   void hash()(string hash) {
1292     HTMLHyperlinkElementUtils_hash_Set(this._parent, hash);
1293   }
1294   auto hash()() {
1295     return HTMLHyperlinkElementUtils_hash_Get(this._parent);
1296   }
1297 }
1298 struct HTMLAreaElement {
1299   nothrow:
1300   spasm.bindings.html.HTMLElement _parent;
1301   alias _parent this;
1302   this(Handle h) {
1303     _parent = .HTMLElement(h);
1304   }
1305   void alt()(string alt) {
1306     HTMLAreaElement_alt_Set(this._parent, alt);
1307   }
1308   auto alt()() {
1309     return HTMLAreaElement_alt_Get(this._parent);
1310   }
1311   void coords()(string coords) {
1312     HTMLAreaElement_coords_Set(this._parent, coords);
1313   }
1314   auto coords()() {
1315     return HTMLAreaElement_coords_Get(this._parent);
1316   }
1317   void shape()(string shape) {
1318     HTMLAreaElement_shape_Set(this._parent, shape);
1319   }
1320   auto shape()() {
1321     return HTMLAreaElement_shape_Get(this._parent);
1322   }
1323   void target()(string target) {
1324     HTMLAreaElement_target_Set(this._parent, target);
1325   }
1326   auto target()() {
1327     return HTMLAreaElement_target_Get(this._parent);
1328   }
1329   void download()(string download) {
1330     HTMLAreaElement_download_Set(this._parent, download);
1331   }
1332   auto download()() {
1333     return HTMLAreaElement_download_Get(this._parent);
1334   }
1335   void ping()(string ping) {
1336     HTMLAreaElement_ping_Set(this._parent, ping);
1337   }
1338   auto ping()() {
1339     return HTMLAreaElement_ping_Get(this._parent);
1340   }
1341   void rel()(string rel) {
1342     HTMLAreaElement_rel_Set(this._parent, rel);
1343   }
1344   auto rel()() {
1345     return HTMLAreaElement_rel_Get(this._parent);
1346   }
1347   auto relList()() {
1348     return DOMTokenList(HTMLAreaElement_relList_Get(this._parent));
1349   }
1350   void referrerPolicy()(string referrerPolicy) {
1351     HTMLAreaElement_referrerPolicy_Set(this._parent, referrerPolicy);
1352   }
1353   auto referrerPolicy()() {
1354     return HTMLAreaElement_referrerPolicy_Get(this._parent);
1355   }
1356   void noHref()(bool noHref) {
1357     HTMLAreaElement_noHref_Set(this._parent, noHref);
1358   }
1359   auto noHref()() {
1360     return HTMLAreaElement_noHref_Get(this._parent);
1361   }
1362   void href()(string href) {
1363     HTMLHyperlinkElementUtils_href_Set(this._parent, href);
1364   }
1365   auto href()() {
1366     return HTMLHyperlinkElementUtils_href_Get(this._parent);
1367   }
1368   auto origin()() {
1369     return HTMLHyperlinkElementUtils_origin_Get(this._parent);
1370   }
1371   void protocol()(string protocol) {
1372     HTMLHyperlinkElementUtils_protocol_Set(this._parent, protocol);
1373   }
1374   auto protocol()() {
1375     return HTMLHyperlinkElementUtils_protocol_Get(this._parent);
1376   }
1377   void username()(string username) {
1378     HTMLHyperlinkElementUtils_username_Set(this._parent, username);
1379   }
1380   auto username()() {
1381     return HTMLHyperlinkElementUtils_username_Get(this._parent);
1382   }
1383   void password()(string password) {
1384     HTMLHyperlinkElementUtils_password_Set(this._parent, password);
1385   }
1386   auto password()() {
1387     return HTMLHyperlinkElementUtils_password_Get(this._parent);
1388   }
1389   void host()(string host) {
1390     HTMLHyperlinkElementUtils_host_Set(this._parent, host);
1391   }
1392   auto host()() {
1393     return HTMLHyperlinkElementUtils_host_Get(this._parent);
1394   }
1395   void hostname()(string hostname) {
1396     HTMLHyperlinkElementUtils_hostname_Set(this._parent, hostname);
1397   }
1398   auto hostname()() {
1399     return HTMLHyperlinkElementUtils_hostname_Get(this._parent);
1400   }
1401   void port()(string port) {
1402     HTMLHyperlinkElementUtils_port_Set(this._parent, port);
1403   }
1404   auto port()() {
1405     return HTMLHyperlinkElementUtils_port_Get(this._parent);
1406   }
1407   void pathname()(string pathname) {
1408     HTMLHyperlinkElementUtils_pathname_Set(this._parent, pathname);
1409   }
1410   auto pathname()() {
1411     return HTMLHyperlinkElementUtils_pathname_Get(this._parent);
1412   }
1413   void search()(string search) {
1414     HTMLHyperlinkElementUtils_search_Set(this._parent, search);
1415   }
1416   auto search()() {
1417     return HTMLHyperlinkElementUtils_search_Get(this._parent);
1418   }
1419   void hash()(string hash) {
1420     HTMLHyperlinkElementUtils_hash_Set(this._parent, hash);
1421   }
1422   auto hash()() {
1423     return HTMLHyperlinkElementUtils_hash_Get(this._parent);
1424   }
1425 }
1426 struct HTMLAudioElement {
1427   nothrow:
1428   spasm.bindings.html.HTMLMediaElement _parent;
1429   alias _parent this;
1430   this(Handle h) {
1431     _parent = .HTMLMediaElement(h);
1432   }
1433 }
1434 struct HTMLBRElement {
1435   nothrow:
1436   spasm.bindings.html.HTMLElement _parent;
1437   alias _parent this;
1438   this(Handle h) {
1439     _parent = .HTMLElement(h);
1440   }
1441   void clear()(string clear) {
1442     HTMLBRElement_clear_Set(this._parent, clear);
1443   }
1444   auto clear()() {
1445     return HTMLBRElement_clear_Get(this._parent);
1446   }
1447 }
1448 struct HTMLBaseElement {
1449   nothrow:
1450   spasm.bindings.html.HTMLElement _parent;
1451   alias _parent this;
1452   this(Handle h) {
1453     _parent = .HTMLElement(h);
1454   }
1455   void href()(string href) {
1456     HTMLBaseElement_href_Set(this._parent, href);
1457   }
1458   auto href()() {
1459     return HTMLBaseElement_href_Get(this._parent);
1460   }
1461   void target()(string target) {
1462     HTMLBaseElement_target_Set(this._parent, target);
1463   }
1464   auto target()() {
1465     return HTMLBaseElement_target_Get(this._parent);
1466   }
1467 }
1468 struct HTMLBodyElement {
1469   nothrow:
1470   spasm.bindings.html.HTMLElement _parent;
1471   alias _parent this;
1472   this(Handle h) {
1473     _parent = .HTMLElement(h);
1474   }
1475   void text()(string text) {
1476     HTMLBodyElement_text_Set(this._parent, text);
1477   }
1478   auto text()() {
1479     return HTMLBodyElement_text_Get(this._parent);
1480   }
1481   void link()(string link) {
1482     HTMLBodyElement_link_Set(this._parent, link);
1483   }
1484   auto link()() {
1485     return HTMLBodyElement_link_Get(this._parent);
1486   }
1487   void vLink()(string vLink) {
1488     HTMLBodyElement_vLink_Set(this._parent, vLink);
1489   }
1490   auto vLink()() {
1491     return HTMLBodyElement_vLink_Get(this._parent);
1492   }
1493   void aLink()(string aLink) {
1494     HTMLBodyElement_aLink_Set(this._parent, aLink);
1495   }
1496   auto aLink()() {
1497     return HTMLBodyElement_aLink_Get(this._parent);
1498   }
1499   void bgColor()(string bgColor) {
1500     HTMLBodyElement_bgColor_Set(this._parent, bgColor);
1501   }
1502   auto bgColor()() {
1503     return HTMLBodyElement_bgColor_Get(this._parent);
1504   }
1505   void background()(string background) {
1506     HTMLBodyElement_background_Set(this._parent, background);
1507   }
1508   auto background()() {
1509     return HTMLBodyElement_background_Get(this._parent);
1510   }
1511   void onorientationchange()(EventHandler onorientationchange) {
1512     HTMLBodyElement_onorientationchange_Set(this._parent, onorientationchange);
1513   }
1514   auto onorientationchange()() {
1515     return HTMLBodyElement_onorientationchange_Get(this._parent);
1516   }
1517   void onafterprint()(EventHandler onafterprint) {
1518     WindowEventHandlers_onafterprint_Set(this._parent, onafterprint);
1519   }
1520   auto onafterprint()() {
1521     return WindowEventHandlers_onafterprint_Get(this._parent);
1522   }
1523   void onbeforeprint()(EventHandler onbeforeprint) {
1524     WindowEventHandlers_onbeforeprint_Set(this._parent, onbeforeprint);
1525   }
1526   auto onbeforeprint()() {
1527     return WindowEventHandlers_onbeforeprint_Get(this._parent);
1528   }
1529   void onbeforeunload(T0)(scope auto ref Optional!(T0) onbeforeunload) if (isTOrPointer!(T0, OnBeforeUnloadEventHandler)) {
1530     WindowEventHandlers_onbeforeunload_Set(this._parent, !onbeforeunload.empty, onbeforeunload.front);
1531   }
1532   auto onbeforeunload()() {
1533     return WindowEventHandlers_onbeforeunload_Get(this._parent);
1534   }
1535   void onhashchange()(EventHandler onhashchange) {
1536     WindowEventHandlers_onhashchange_Set(this._parent, onhashchange);
1537   }
1538   auto onhashchange()() {
1539     return WindowEventHandlers_onhashchange_Get(this._parent);
1540   }
1541   void onlanguagechange()(EventHandler onlanguagechange) {
1542     WindowEventHandlers_onlanguagechange_Set(this._parent, onlanguagechange);
1543   }
1544   auto onlanguagechange()() {
1545     return WindowEventHandlers_onlanguagechange_Get(this._parent);
1546   }
1547   void onmessage()(EventHandler onmessage) {
1548     WindowEventHandlers_onmessage_Set(this._parent, onmessage);
1549   }
1550   auto onmessage()() {
1551     return WindowEventHandlers_onmessage_Get(this._parent);
1552   }
1553   void onmessageerror()(EventHandler onmessageerror) {
1554     WindowEventHandlers_onmessageerror_Set(this._parent, onmessageerror);
1555   }
1556   auto onmessageerror()() {
1557     return WindowEventHandlers_onmessageerror_Get(this._parent);
1558   }
1559   void onoffline()(EventHandler onoffline) {
1560     WindowEventHandlers_onoffline_Set(this._parent, onoffline);
1561   }
1562   auto onoffline()() {
1563     return WindowEventHandlers_onoffline_Get(this._parent);
1564   }
1565   void ononline()(EventHandler ononline) {
1566     WindowEventHandlers_ononline_Set(this._parent, ononline);
1567   }
1568   auto ononline()() {
1569     return WindowEventHandlers_ononline_Get(this._parent);
1570   }
1571   void onpagehide()(EventHandler onpagehide) {
1572     WindowEventHandlers_onpagehide_Set(this._parent, onpagehide);
1573   }
1574   auto onpagehide()() {
1575     return WindowEventHandlers_onpagehide_Get(this._parent);
1576   }
1577   void onpageshow()(EventHandler onpageshow) {
1578     WindowEventHandlers_onpageshow_Set(this._parent, onpageshow);
1579   }
1580   auto onpageshow()() {
1581     return WindowEventHandlers_onpageshow_Get(this._parent);
1582   }
1583   void onpopstate()(EventHandler onpopstate) {
1584     WindowEventHandlers_onpopstate_Set(this._parent, onpopstate);
1585   }
1586   auto onpopstate()() {
1587     return WindowEventHandlers_onpopstate_Get(this._parent);
1588   }
1589   void onrejectionhandled()(EventHandler onrejectionhandled) {
1590     WindowEventHandlers_onrejectionhandled_Set(this._parent, onrejectionhandled);
1591   }
1592   auto onrejectionhandled()() {
1593     return WindowEventHandlers_onrejectionhandled_Get(this._parent);
1594   }
1595   void onstorage()(EventHandler onstorage) {
1596     WindowEventHandlers_onstorage_Set(this._parent, onstorage);
1597   }
1598   auto onstorage()() {
1599     return WindowEventHandlers_onstorage_Get(this._parent);
1600   }
1601   void onunhandledrejection()(EventHandler onunhandledrejection) {
1602     WindowEventHandlers_onunhandledrejection_Set(this._parent, onunhandledrejection);
1603   }
1604   auto onunhandledrejection()() {
1605     return WindowEventHandlers_onunhandledrejection_Get(this._parent);
1606   }
1607   void onunload()(EventHandler onunload) {
1608     WindowEventHandlers_onunload_Set(this._parent, onunload);
1609   }
1610   auto onunload()() {
1611     return WindowEventHandlers_onunload_Get(this._parent);
1612   }
1613 }
1614 struct HTMLButtonElement {
1615   nothrow:
1616   spasm.bindings.html.HTMLElement _parent;
1617   alias _parent this;
1618   this(Handle h) {
1619     _parent = .HTMLElement(h);
1620   }
1621   void autofocus()(bool autofocus) {
1622     HTMLButtonElement_autofocus_Set(this._parent, autofocus);
1623   }
1624   auto autofocus()() {
1625     return HTMLButtonElement_autofocus_Get(this._parent);
1626   }
1627   void disabled()(bool disabled) {
1628     HTMLButtonElement_disabled_Set(this._parent, disabled);
1629   }
1630   auto disabled()() {
1631     return HTMLButtonElement_disabled_Get(this._parent);
1632   }
1633   auto form()() {
1634     return HTMLButtonElement_form_Get(this._parent);
1635   }
1636   void formAction()(string formAction) {
1637     HTMLButtonElement_formAction_Set(this._parent, formAction);
1638   }
1639   auto formAction()() {
1640     return HTMLButtonElement_formAction_Get(this._parent);
1641   }
1642   void formEnctype()(string formEnctype) {
1643     HTMLButtonElement_formEnctype_Set(this._parent, formEnctype);
1644   }
1645   auto formEnctype()() {
1646     return HTMLButtonElement_formEnctype_Get(this._parent);
1647   }
1648   void formMethod()(string formMethod) {
1649     HTMLButtonElement_formMethod_Set(this._parent, formMethod);
1650   }
1651   auto formMethod()() {
1652     return HTMLButtonElement_formMethod_Get(this._parent);
1653   }
1654   void formNoValidate()(bool formNoValidate) {
1655     HTMLButtonElement_formNoValidate_Set(this._parent, formNoValidate);
1656   }
1657   auto formNoValidate()() {
1658     return HTMLButtonElement_formNoValidate_Get(this._parent);
1659   }
1660   void formTarget()(string formTarget) {
1661     HTMLButtonElement_formTarget_Set(this._parent, formTarget);
1662   }
1663   auto formTarget()() {
1664     return HTMLButtonElement_formTarget_Get(this._parent);
1665   }
1666   void name()(string name) {
1667     HTMLButtonElement_name_Set(this._parent, name);
1668   }
1669   auto name()() {
1670     return HTMLButtonElement_name_Get(this._parent);
1671   }
1672   void type()(string type) {
1673     HTMLButtonElement_type_Set(this._parent, type);
1674   }
1675   auto type()() {
1676     return HTMLButtonElement_type_Get(this._parent);
1677   }
1678   void value()(string value) {
1679     HTMLButtonElement_value_Set(this._parent, value);
1680   }
1681   auto value()() {
1682     return HTMLButtonElement_value_Get(this._parent);
1683   }
1684   auto willValidate()() {
1685     return HTMLButtonElement_willValidate_Get(this._parent);
1686   }
1687   auto validity()() {
1688     return ValidityState(HTMLButtonElement_validity_Get(this._parent));
1689   }
1690   auto validationMessage()() {
1691     return HTMLButtonElement_validationMessage_Get(this._parent);
1692   }
1693   auto checkValidity()() {
1694     return HTMLButtonElement_checkValidity(this._parent);
1695   }
1696   auto reportValidity()() {
1697     return HTMLButtonElement_reportValidity(this._parent);
1698   }
1699   void setCustomValidity()(string error) {
1700     HTMLButtonElement_setCustomValidity(this._parent, error);
1701   }
1702   auto labels()() {
1703     return NodeList(HTMLButtonElement_labels_Get(this._parent));
1704   }
1705 }
1706 struct HTMLCanvasElement {
1707   nothrow:
1708   spasm.bindings.html.HTMLElement _parent;
1709   alias _parent this;
1710   this(Handle h) {
1711     _parent = .HTMLElement(h);
1712   }
1713   void width()(uint width) {
1714     HTMLCanvasElement_width_Set(this._parent, width);
1715   }
1716   auto width()() {
1717     return HTMLCanvasElement_width_Get(this._parent);
1718   }
1719   void height()(uint height) {
1720     HTMLCanvasElement_height_Set(this._parent, height);
1721   }
1722   auto height()() {
1723     return HTMLCanvasElement_height_Get(this._parent);
1724   }
1725   auto getContext(T1)(string contextId, scope auto ref T1 options /* = null */) {
1726     Handle _handle_options = getOrCreateHandle(options);
1727     auto result = HTMLCanvasElement_getContext(this._parent, contextId, _handle_options);
1728     dropHandle!(T1)(_handle_options);
1729     return result;
1730   }
1731   auto getContext()(string contextId) {
1732     return HTMLCanvasElement_getContext_0(this._parent, contextId);
1733   }
1734   auto toDataURL(T1)(string type, scope auto ref T1 quality) {
1735     Handle _handle_quality = getOrCreateHandle(quality);
1736     auto result = HTMLCanvasElement_toDataURL(this._parent, type, _handle_quality);
1737     dropHandle!(T1)(_handle_quality);
1738     return result;
1739   }
1740   auto toDataURL()(string type) {
1741     return HTMLCanvasElement_toDataURL_0(this._parent, type);
1742   }
1743   auto toDataURL()() {
1744     return HTMLCanvasElement_toDataURL_1(this._parent);
1745   }
1746   void toBlob(T2)(BlobCallback _callback, string type, scope auto ref T2 quality) {
1747     Handle _handle_quality = getOrCreateHandle(quality);
1748     HTMLCanvasElement_toBlob(this._parent, _callback, type, _handle_quality);
1749     dropHandle!(T2)(_handle_quality);
1750   }
1751   void toBlob()(BlobCallback _callback, string type) {
1752     HTMLCanvasElement_toBlob_0(this._parent, _callback, type);
1753   }
1754   void toBlob()(BlobCallback _callback) {
1755     HTMLCanvasElement_toBlob_1(this._parent, _callback);
1756   }
1757   auto transferControlToOffscreen()() {
1758     return OffscreenCanvas(HTMLCanvasElement_transferControlToOffscreen(this._parent));
1759   }
1760 }
1761 struct HTMLDListElement {
1762   nothrow:
1763   spasm.bindings.html.HTMLElement _parent;
1764   alias _parent this;
1765   this(Handle h) {
1766     _parent = .HTMLElement(h);
1767   }
1768   void compact()(bool compact) {
1769     HTMLDListElement_compact_Set(this._parent, compact);
1770   }
1771   auto compact()() {
1772     return HTMLDListElement_compact_Get(this._parent);
1773   }
1774 }
1775 struct HTMLDataElement {
1776   nothrow:
1777   spasm.bindings.html.HTMLElement _parent;
1778   alias _parent this;
1779   this(Handle h) {
1780     _parent = .HTMLElement(h);
1781   }
1782   void value()(string value) {
1783     HTMLDataElement_value_Set(this._parent, value);
1784   }
1785   auto value()() {
1786     return HTMLDataElement_value_Get(this._parent);
1787   }
1788 }
1789 struct HTMLDataListElement {
1790   nothrow:
1791   spasm.bindings.html.HTMLElement _parent;
1792   alias _parent this;
1793   this(Handle h) {
1794     _parent = .HTMLElement(h);
1795   }
1796   auto options()() {
1797     return HTMLCollection(HTMLDataListElement_options_Get(this._parent));
1798   }
1799 }
1800 struct HTMLDetailsElement {
1801   nothrow:
1802   spasm.bindings.html.HTMLElement _parent;
1803   alias _parent this;
1804   this(Handle h) {
1805     _parent = .HTMLElement(h);
1806   }
1807   void open()(bool open) {
1808     HTMLDetailsElement_open_Set(this._parent, open);
1809   }
1810   auto open()() {
1811     return HTMLDetailsElement_open_Get(this._parent);
1812   }
1813 }
1814 struct HTMLDialogElement {
1815   nothrow:
1816   spasm.bindings.html.HTMLElement _parent;
1817   alias _parent this;
1818   this(Handle h) {
1819     _parent = .HTMLElement(h);
1820   }
1821   void open()(bool open) {
1822     HTMLDialogElement_open_Set(this._parent, open);
1823   }
1824   auto open()() {
1825     return HTMLDialogElement_open_Get(this._parent);
1826   }
1827   void returnValue()(string returnValue) {
1828     HTMLDialogElement_returnValue_Set(this._parent, returnValue);
1829   }
1830   auto returnValue()() {
1831     return HTMLDialogElement_returnValue_Get(this._parent);
1832   }
1833   void show()() {
1834     HTMLDialogElement_show(this._parent);
1835   }
1836   void showModal()() {
1837     HTMLDialogElement_showModal(this._parent);
1838   }
1839   void close()(string returnValue) {
1840     HTMLDialogElement_close(this._parent, returnValue);
1841   }
1842   void close()() {
1843     HTMLDialogElement_close_0(this._parent);
1844   }
1845 }
1846 struct HTMLDirectoryElement {
1847   nothrow:
1848   spasm.bindings.html.HTMLElement _parent;
1849   alias _parent this;
1850   this(Handle h) {
1851     _parent = .HTMLElement(h);
1852   }
1853   void compact()(bool compact) {
1854     HTMLDirectoryElement_compact_Set(this._parent, compact);
1855   }
1856   auto compact()() {
1857     return HTMLDirectoryElement_compact_Get(this._parent);
1858   }
1859 }
1860 struct HTMLDivElement {
1861   nothrow:
1862   spasm.bindings.html.HTMLElement _parent;
1863   alias _parent this;
1864   this(Handle h) {
1865     _parent = .HTMLElement(h);
1866   }
1867   void align_()(string align_) {
1868     HTMLDivElement_align_Set(this._parent, align_);
1869   }
1870   auto align_()() {
1871     return HTMLDivElement_align_Get(this._parent);
1872   }
1873 }
1874 struct HTMLElement {
1875   nothrow:
1876   spasm.bindings.dom.Element _parent;
1877   alias _parent this;
1878   this(Handle h) {
1879     _parent = .Element(h);
1880   }
1881   void title()(string title) {
1882     HTMLElement_title_Set(this._parent, title);
1883   }
1884   auto title()() {
1885     return HTMLElement_title_Get(this._parent);
1886   }
1887   void lang()(string lang) {
1888     HTMLElement_lang_Set(this._parent, lang);
1889   }
1890   auto lang()() {
1891     return HTMLElement_lang_Get(this._parent);
1892   }
1893   void translate()(bool translate) {
1894     HTMLElement_translate_Set(this._parent, translate);
1895   }
1896   auto translate()() {
1897     return HTMLElement_translate_Get(this._parent);
1898   }
1899   void dir()(string dir) {
1900     HTMLElement_dir_Set(this._parent, dir);
1901   }
1902   auto dir()() {
1903     return HTMLElement_dir_Get(this._parent);
1904   }
1905   void hidden()(bool hidden) {
1906     HTMLElement_hidden_Set(this._parent, hidden);
1907   }
1908   auto hidden()() {
1909     return HTMLElement_hidden_Get(this._parent);
1910   }
1911   void click()() {
1912     HTMLElement_click(this._parent);
1913   }
1914   void accessKey()(string accessKey) {
1915     HTMLElement_accessKey_Set(this._parent, accessKey);
1916   }
1917   auto accessKey()() {
1918     return HTMLElement_accessKey_Get(this._parent);
1919   }
1920   auto accessKeyLabel()() {
1921     return HTMLElement_accessKeyLabel_Get(this._parent);
1922   }
1923   void draggable()(bool draggable) {
1924     HTMLElement_draggable_Set(this._parent, draggable);
1925   }
1926   auto draggable()() {
1927     return HTMLElement_draggable_Get(this._parent);
1928   }
1929   void spellcheck()(bool spellcheck) {
1930     HTMLElement_spellcheck_Set(this._parent, spellcheck);
1931   }
1932   auto spellcheck()() {
1933     return HTMLElement_spellcheck_Get(this._parent);
1934   }
1935   void autocapitalize()(string autocapitalize) {
1936     HTMLElement_autocapitalize_Set(this._parent, autocapitalize);
1937   }
1938   auto autocapitalize()() {
1939     return HTMLElement_autocapitalize_Get(this._parent);
1940   }
1941   void innerText()(string innerText) {
1942     HTMLElement_innerText_Set(this._parent, innerText);
1943   }
1944   auto innerText()() {
1945     return HTMLElement_innerText_Get(this._parent);
1946   }
1947   auto offsetParent()() {
1948     return HTMLElement_offsetParent_Get(this._parent);
1949   }
1950   auto offsetTop()() {
1951     return HTMLElement_offsetTop_Get(this._parent);
1952   }
1953   auto offsetLeft()() {
1954     return HTMLElement_offsetLeft_Get(this._parent);
1955   }
1956   auto offsetWidth()() {
1957     return HTMLElement_offsetWidth_Get(this._parent);
1958   }
1959   auto offsetHeight()() {
1960     return HTMLElement_offsetHeight_Get(this._parent);
1961   }
1962   auto dataset()() {
1963     return DOMStringMap(HTMLOrSVGElement_dataset_Get(this._parent));
1964   }
1965   void nonce()(string nonce) {
1966     HTMLOrSVGElement_nonce_Set(this._parent, nonce);
1967   }
1968   auto nonce()() {
1969     return HTMLOrSVGElement_nonce_Get(this._parent);
1970   }
1971   void tabIndex()(int tabIndex) {
1972     HTMLOrSVGElement_tabIndex_Set(this._parent, tabIndex);
1973   }
1974   auto tabIndex()() {
1975     return HTMLOrSVGElement_tabIndex_Get(this._parent);
1976   }
1977   void focus()(scope ref FocusOptions options) {
1978     HTMLOrSVGElement_focus(this._parent, options.handle);
1979   }
1980   void focus()() {
1981     HTMLOrSVGElement_focus_0(this._parent);
1982   }
1983   void blur()() {
1984     HTMLOrSVGElement_blur(this._parent);
1985   }
1986   void contentEditable()(string contentEditable) {
1987     ElementContentEditable_contentEditable_Set(this._parent, contentEditable);
1988   }
1989   auto contentEditable()() {
1990     return ElementContentEditable_contentEditable_Get(this._parent);
1991   }
1992   void enterKeyHint()(string enterKeyHint) {
1993     ElementContentEditable_enterKeyHint_Set(this._parent, enterKeyHint);
1994   }
1995   auto enterKeyHint()() {
1996     return ElementContentEditable_enterKeyHint_Get(this._parent);
1997   }
1998   auto isContentEditable()() {
1999     return ElementContentEditable_isContentEditable_Get(this._parent);
2000   }
2001   void inputMode()(string inputMode) {
2002     ElementContentEditable_inputMode_Set(this._parent, inputMode);
2003   }
2004   auto inputMode()() {
2005     return ElementContentEditable_inputMode_Get(this._parent);
2006   }
2007   void oncopy()(EventHandler oncopy) {
2008     DocumentAndElementEventHandlers_oncopy_Set(this._parent, oncopy);
2009   }
2010   auto oncopy()() {
2011     return DocumentAndElementEventHandlers_oncopy_Get(this._parent);
2012   }
2013   void oncut()(EventHandler oncut) {
2014     DocumentAndElementEventHandlers_oncut_Set(this._parent, oncut);
2015   }
2016   auto oncut()() {
2017     return DocumentAndElementEventHandlers_oncut_Get(this._parent);
2018   }
2019   void onpaste()(EventHandler onpaste) {
2020     DocumentAndElementEventHandlers_onpaste_Set(this._parent, onpaste);
2021   }
2022   auto onpaste()() {
2023     return DocumentAndElementEventHandlers_onpaste_Get(this._parent);
2024   }
2025   void onabort()(EventHandler onabort) {
2026     GlobalEventHandlers_onabort_Set(this._parent, onabort);
2027   }
2028   auto onabort()() {
2029     return GlobalEventHandlers_onabort_Get(this._parent);
2030   }
2031   void onauxclick()(EventHandler onauxclick) {
2032     GlobalEventHandlers_onauxclick_Set(this._parent, onauxclick);
2033   }
2034   auto onauxclick()() {
2035     return GlobalEventHandlers_onauxclick_Get(this._parent);
2036   }
2037   void onblur()(EventHandler onblur) {
2038     GlobalEventHandlers_onblur_Set(this._parent, onblur);
2039   }
2040   auto onblur()() {
2041     return GlobalEventHandlers_onblur_Get(this._parent);
2042   }
2043   void oncancel()(EventHandler oncancel) {
2044     GlobalEventHandlers_oncancel_Set(this._parent, oncancel);
2045   }
2046   auto oncancel()() {
2047     return GlobalEventHandlers_oncancel_Get(this._parent);
2048   }
2049   void oncanplay()(EventHandler oncanplay) {
2050     GlobalEventHandlers_oncanplay_Set(this._parent, oncanplay);
2051   }
2052   auto oncanplay()() {
2053     return GlobalEventHandlers_oncanplay_Get(this._parent);
2054   }
2055   void oncanplaythrough()(EventHandler oncanplaythrough) {
2056     GlobalEventHandlers_oncanplaythrough_Set(this._parent, oncanplaythrough);
2057   }
2058   auto oncanplaythrough()() {
2059     return GlobalEventHandlers_oncanplaythrough_Get(this._parent);
2060   }
2061   void onchange()(EventHandler onchange) {
2062     GlobalEventHandlers_onchange_Set(this._parent, onchange);
2063   }
2064   auto onchange()() {
2065     return GlobalEventHandlers_onchange_Get(this._parent);
2066   }
2067   void onclick()(EventHandler onclick) {
2068     GlobalEventHandlers_onclick_Set(this._parent, onclick);
2069   }
2070   auto onclick()() {
2071     return GlobalEventHandlers_onclick_Get(this._parent);
2072   }
2073   void onclose()(EventHandler onclose) {
2074     GlobalEventHandlers_onclose_Set(this._parent, onclose);
2075   }
2076   auto onclose()() {
2077     return GlobalEventHandlers_onclose_Get(this._parent);
2078   }
2079   void oncontextmenu()(EventHandler oncontextmenu) {
2080     GlobalEventHandlers_oncontextmenu_Set(this._parent, oncontextmenu);
2081   }
2082   auto oncontextmenu()() {
2083     return GlobalEventHandlers_oncontextmenu_Get(this._parent);
2084   }
2085   void oncuechange()(EventHandler oncuechange) {
2086     GlobalEventHandlers_oncuechange_Set(this._parent, oncuechange);
2087   }
2088   auto oncuechange()() {
2089     return GlobalEventHandlers_oncuechange_Get(this._parent);
2090   }
2091   void ondblclick()(EventHandler ondblclick) {
2092     GlobalEventHandlers_ondblclick_Set(this._parent, ondblclick);
2093   }
2094   auto ondblclick()() {
2095     return GlobalEventHandlers_ondblclick_Get(this._parent);
2096   }
2097   void ondrag()(EventHandler ondrag) {
2098     GlobalEventHandlers_ondrag_Set(this._parent, ondrag);
2099   }
2100   auto ondrag()() {
2101     return GlobalEventHandlers_ondrag_Get(this._parent);
2102   }
2103   void ondragend()(EventHandler ondragend) {
2104     GlobalEventHandlers_ondragend_Set(this._parent, ondragend);
2105   }
2106   auto ondragend()() {
2107     return GlobalEventHandlers_ondragend_Get(this._parent);
2108   }
2109   void ondragenter()(EventHandler ondragenter) {
2110     GlobalEventHandlers_ondragenter_Set(this._parent, ondragenter);
2111   }
2112   auto ondragenter()() {
2113     return GlobalEventHandlers_ondragenter_Get(this._parent);
2114   }
2115   void ondragexit()(EventHandler ondragexit) {
2116     GlobalEventHandlers_ondragexit_Set(this._parent, ondragexit);
2117   }
2118   auto ondragexit()() {
2119     return GlobalEventHandlers_ondragexit_Get(this._parent);
2120   }
2121   void ondragleave()(EventHandler ondragleave) {
2122     GlobalEventHandlers_ondragleave_Set(this._parent, ondragleave);
2123   }
2124   auto ondragleave()() {
2125     return GlobalEventHandlers_ondragleave_Get(this._parent);
2126   }
2127   void ondragover()(EventHandler ondragover) {
2128     GlobalEventHandlers_ondragover_Set(this._parent, ondragover);
2129   }
2130   auto ondragover()() {
2131     return GlobalEventHandlers_ondragover_Get(this._parent);
2132   }
2133   void ondragstart()(EventHandler ondragstart) {
2134     GlobalEventHandlers_ondragstart_Set(this._parent, ondragstart);
2135   }
2136   auto ondragstart()() {
2137     return GlobalEventHandlers_ondragstart_Get(this._parent);
2138   }
2139   void ondrop()(EventHandler ondrop) {
2140     GlobalEventHandlers_ondrop_Set(this._parent, ondrop);
2141   }
2142   auto ondrop()() {
2143     return GlobalEventHandlers_ondrop_Get(this._parent);
2144   }
2145   void ondurationchange()(EventHandler ondurationchange) {
2146     GlobalEventHandlers_ondurationchange_Set(this._parent, ondurationchange);
2147   }
2148   auto ondurationchange()() {
2149     return GlobalEventHandlers_ondurationchange_Get(this._parent);
2150   }
2151   void onemptied()(EventHandler onemptied) {
2152     GlobalEventHandlers_onemptied_Set(this._parent, onemptied);
2153   }
2154   auto onemptied()() {
2155     return GlobalEventHandlers_onemptied_Get(this._parent);
2156   }
2157   void onended()(EventHandler onended) {
2158     GlobalEventHandlers_onended_Set(this._parent, onended);
2159   }
2160   auto onended()() {
2161     return GlobalEventHandlers_onended_Get(this._parent);
2162   }
2163   void onerror(T0)(scope auto ref Optional!(T0) onerror) if (isTOrPointer!(T0, OnErrorEventHandler)) {
2164     GlobalEventHandlers_onerror_Set(this._parent, !onerror.empty, onerror.front);
2165   }
2166   auto onerror()() {
2167     return GlobalEventHandlers_onerror_Get(this._parent);
2168   }
2169   void onfocus()(EventHandler onfocus) {
2170     GlobalEventHandlers_onfocus_Set(this._parent, onfocus);
2171   }
2172   auto onfocus()() {
2173     return GlobalEventHandlers_onfocus_Get(this._parent);
2174   }
2175   void oninput()(EventHandler oninput) {
2176     GlobalEventHandlers_oninput_Set(this._parent, oninput);
2177   }
2178   auto oninput()() {
2179     return GlobalEventHandlers_oninput_Get(this._parent);
2180   }
2181   void oninvalid()(EventHandler oninvalid) {
2182     GlobalEventHandlers_oninvalid_Set(this._parent, oninvalid);
2183   }
2184   auto oninvalid()() {
2185     return GlobalEventHandlers_oninvalid_Get(this._parent);
2186   }
2187   void onkeydown()(EventHandler onkeydown) {
2188     GlobalEventHandlers_onkeydown_Set(this._parent, onkeydown);
2189   }
2190   auto onkeydown()() {
2191     return GlobalEventHandlers_onkeydown_Get(this._parent);
2192   }
2193   void onkeypress()(EventHandler onkeypress) {
2194     GlobalEventHandlers_onkeypress_Set(this._parent, onkeypress);
2195   }
2196   auto onkeypress()() {
2197     return GlobalEventHandlers_onkeypress_Get(this._parent);
2198   }
2199   void onkeyup()(EventHandler onkeyup) {
2200     GlobalEventHandlers_onkeyup_Set(this._parent, onkeyup);
2201   }
2202   auto onkeyup()() {
2203     return GlobalEventHandlers_onkeyup_Get(this._parent);
2204   }
2205   void onload()(EventHandler onload) {
2206     GlobalEventHandlers_onload_Set(this._parent, onload);
2207   }
2208   auto onload()() {
2209     return GlobalEventHandlers_onload_Get(this._parent);
2210   }
2211   void onloadeddata()(EventHandler onloadeddata) {
2212     GlobalEventHandlers_onloadeddata_Set(this._parent, onloadeddata);
2213   }
2214   auto onloadeddata()() {
2215     return GlobalEventHandlers_onloadeddata_Get(this._parent);
2216   }
2217   void onloadedmetadata()(EventHandler onloadedmetadata) {
2218     GlobalEventHandlers_onloadedmetadata_Set(this._parent, onloadedmetadata);
2219   }
2220   auto onloadedmetadata()() {
2221     return GlobalEventHandlers_onloadedmetadata_Get(this._parent);
2222   }
2223   void onloadend()(EventHandler onloadend) {
2224     GlobalEventHandlers_onloadend_Set(this._parent, onloadend);
2225   }
2226   auto onloadend()() {
2227     return GlobalEventHandlers_onloadend_Get(this._parent);
2228   }
2229   void onloadstart()(EventHandler onloadstart) {
2230     GlobalEventHandlers_onloadstart_Set(this._parent, onloadstart);
2231   }
2232   auto onloadstart()() {
2233     return GlobalEventHandlers_onloadstart_Get(this._parent);
2234   }
2235   void onmousedown()(EventHandler onmousedown) {
2236     GlobalEventHandlers_onmousedown_Set(this._parent, onmousedown);
2237   }
2238   auto onmousedown()() {
2239     return GlobalEventHandlers_onmousedown_Get(this._parent);
2240   }
2241   void onmouseenter()(EventHandler onmouseenter) {
2242     GlobalEventHandlers_onmouseenter_Set(this._parent, onmouseenter);
2243   }
2244   auto onmouseenter()() {
2245     return GlobalEventHandlers_onmouseenter_Get(this._parent);
2246   }
2247   void onmouseleave()(EventHandler onmouseleave) {
2248     GlobalEventHandlers_onmouseleave_Set(this._parent, onmouseleave);
2249   }
2250   auto onmouseleave()() {
2251     return GlobalEventHandlers_onmouseleave_Get(this._parent);
2252   }
2253   void onmousemove()(EventHandler onmousemove) {
2254     GlobalEventHandlers_onmousemove_Set(this._parent, onmousemove);
2255   }
2256   auto onmousemove()() {
2257     return GlobalEventHandlers_onmousemove_Get(this._parent);
2258   }
2259   void onmouseout()(EventHandler onmouseout) {
2260     GlobalEventHandlers_onmouseout_Set(this._parent, onmouseout);
2261   }
2262   auto onmouseout()() {
2263     return GlobalEventHandlers_onmouseout_Get(this._parent);
2264   }
2265   void onmouseover()(EventHandler onmouseover) {
2266     GlobalEventHandlers_onmouseover_Set(this._parent, onmouseover);
2267   }
2268   auto onmouseover()() {
2269     return GlobalEventHandlers_onmouseover_Get(this._parent);
2270   }
2271   void onmouseup()(EventHandler onmouseup) {
2272     GlobalEventHandlers_onmouseup_Set(this._parent, onmouseup);
2273   }
2274   auto onmouseup()() {
2275     return GlobalEventHandlers_onmouseup_Get(this._parent);
2276   }
2277   void onwheel()(EventHandler onwheel) {
2278     GlobalEventHandlers_onwheel_Set(this._parent, onwheel);
2279   }
2280   auto onwheel()() {
2281     return GlobalEventHandlers_onwheel_Get(this._parent);
2282   }
2283   void onpause()(EventHandler onpause) {
2284     GlobalEventHandlers_onpause_Set(this._parent, onpause);
2285   }
2286   auto onpause()() {
2287     return GlobalEventHandlers_onpause_Get(this._parent);
2288   }
2289   void onplay()(EventHandler onplay) {
2290     GlobalEventHandlers_onplay_Set(this._parent, onplay);
2291   }
2292   auto onplay()() {
2293     return GlobalEventHandlers_onplay_Get(this._parent);
2294   }
2295   void onplaying()(EventHandler onplaying) {
2296     GlobalEventHandlers_onplaying_Set(this._parent, onplaying);
2297   }
2298   auto onplaying()() {
2299     return GlobalEventHandlers_onplaying_Get(this._parent);
2300   }
2301   void onprogress()(EventHandler onprogress) {
2302     GlobalEventHandlers_onprogress_Set(this._parent, onprogress);
2303   }
2304   auto onprogress()() {
2305     return GlobalEventHandlers_onprogress_Get(this._parent);
2306   }
2307   void onratechange()(EventHandler onratechange) {
2308     GlobalEventHandlers_onratechange_Set(this._parent, onratechange);
2309   }
2310   auto onratechange()() {
2311     return GlobalEventHandlers_onratechange_Get(this._parent);
2312   }
2313   void onreset()(EventHandler onreset) {
2314     GlobalEventHandlers_onreset_Set(this._parent, onreset);
2315   }
2316   auto onreset()() {
2317     return GlobalEventHandlers_onreset_Get(this._parent);
2318   }
2319   void onresize()(EventHandler onresize) {
2320     GlobalEventHandlers_onresize_Set(this._parent, onresize);
2321   }
2322   auto onresize()() {
2323     return GlobalEventHandlers_onresize_Get(this._parent);
2324   }
2325   void onscroll()(EventHandler onscroll) {
2326     GlobalEventHandlers_onscroll_Set(this._parent, onscroll);
2327   }
2328   auto onscroll()() {
2329     return GlobalEventHandlers_onscroll_Get(this._parent);
2330   }
2331   void onsecuritypolicyviolation()(EventHandler onsecuritypolicyviolation) {
2332     GlobalEventHandlers_onsecuritypolicyviolation_Set(this._parent, onsecuritypolicyviolation);
2333   }
2334   auto onsecuritypolicyviolation()() {
2335     return GlobalEventHandlers_onsecuritypolicyviolation_Get(this._parent);
2336   }
2337   void onseeked()(EventHandler onseeked) {
2338     GlobalEventHandlers_onseeked_Set(this._parent, onseeked);
2339   }
2340   auto onseeked()() {
2341     return GlobalEventHandlers_onseeked_Get(this._parent);
2342   }
2343   void onseeking()(EventHandler onseeking) {
2344     GlobalEventHandlers_onseeking_Set(this._parent, onseeking);
2345   }
2346   auto onseeking()() {
2347     return GlobalEventHandlers_onseeking_Get(this._parent);
2348   }
2349   void onselect()(EventHandler onselect) {
2350     GlobalEventHandlers_onselect_Set(this._parent, onselect);
2351   }
2352   auto onselect()() {
2353     return GlobalEventHandlers_onselect_Get(this._parent);
2354   }
2355   void onstalled()(EventHandler onstalled) {
2356     GlobalEventHandlers_onstalled_Set(this._parent, onstalled);
2357   }
2358   auto onstalled()() {
2359     return GlobalEventHandlers_onstalled_Get(this._parent);
2360   }
2361   void onsubmit()(EventHandler onsubmit) {
2362     GlobalEventHandlers_onsubmit_Set(this._parent, onsubmit);
2363   }
2364   auto onsubmit()() {
2365     return GlobalEventHandlers_onsubmit_Get(this._parent);
2366   }
2367   void onsuspend()(EventHandler onsuspend) {
2368     GlobalEventHandlers_onsuspend_Set(this._parent, onsuspend);
2369   }
2370   auto onsuspend()() {
2371     return GlobalEventHandlers_onsuspend_Get(this._parent);
2372   }
2373   void ontimeupdate()(EventHandler ontimeupdate) {
2374     GlobalEventHandlers_ontimeupdate_Set(this._parent, ontimeupdate);
2375   }
2376   auto ontimeupdate()() {
2377     return GlobalEventHandlers_ontimeupdate_Get(this._parent);
2378   }
2379   void ontoggle()(EventHandler ontoggle) {
2380     GlobalEventHandlers_ontoggle_Set(this._parent, ontoggle);
2381   }
2382   auto ontoggle()() {
2383     return GlobalEventHandlers_ontoggle_Get(this._parent);
2384   }
2385   void onvolumechange()(EventHandler onvolumechange) {
2386     GlobalEventHandlers_onvolumechange_Set(this._parent, onvolumechange);
2387   }
2388   auto onvolumechange()() {
2389     return GlobalEventHandlers_onvolumechange_Get(this._parent);
2390   }
2391   void onwaiting()(EventHandler onwaiting) {
2392     GlobalEventHandlers_onwaiting_Set(this._parent, onwaiting);
2393   }
2394   auto onwaiting()() {
2395     return GlobalEventHandlers_onwaiting_Get(this._parent);
2396   }
2397   void ongotpointercapture()(EventHandler ongotpointercapture) {
2398     GlobalEventHandlers_ongotpointercapture_Set(this._parent, ongotpointercapture);
2399   }
2400   auto ongotpointercapture()() {
2401     return GlobalEventHandlers_ongotpointercapture_Get(this._parent);
2402   }
2403   void onlostpointercapture()(EventHandler onlostpointercapture) {
2404     GlobalEventHandlers_onlostpointercapture_Set(this._parent, onlostpointercapture);
2405   }
2406   auto onlostpointercapture()() {
2407     return GlobalEventHandlers_onlostpointercapture_Get(this._parent);
2408   }
2409   void onpointerdown()(EventHandler onpointerdown) {
2410     GlobalEventHandlers_onpointerdown_Set(this._parent, onpointerdown);
2411   }
2412   auto onpointerdown()() {
2413     return GlobalEventHandlers_onpointerdown_Get(this._parent);
2414   }
2415   void onpointermove()(EventHandler onpointermove) {
2416     GlobalEventHandlers_onpointermove_Set(this._parent, onpointermove);
2417   }
2418   auto onpointermove()() {
2419     return GlobalEventHandlers_onpointermove_Get(this._parent);
2420   }
2421   void onpointerup()(EventHandler onpointerup) {
2422     GlobalEventHandlers_onpointerup_Set(this._parent, onpointerup);
2423   }
2424   auto onpointerup()() {
2425     return GlobalEventHandlers_onpointerup_Get(this._parent);
2426   }
2427   void onpointercancel()(EventHandler onpointercancel) {
2428     GlobalEventHandlers_onpointercancel_Set(this._parent, onpointercancel);
2429   }
2430   auto onpointercancel()() {
2431     return GlobalEventHandlers_onpointercancel_Get(this._parent);
2432   }
2433   void onpointerover()(EventHandler onpointerover) {
2434     GlobalEventHandlers_onpointerover_Set(this._parent, onpointerover);
2435   }
2436   auto onpointerover()() {
2437     return GlobalEventHandlers_onpointerover_Get(this._parent);
2438   }
2439   void onpointerout()(EventHandler onpointerout) {
2440     GlobalEventHandlers_onpointerout_Set(this._parent, onpointerout);
2441   }
2442   auto onpointerout()() {
2443     return GlobalEventHandlers_onpointerout_Get(this._parent);
2444   }
2445   void onpointerenter()(EventHandler onpointerenter) {
2446     GlobalEventHandlers_onpointerenter_Set(this._parent, onpointerenter);
2447   }
2448   auto onpointerenter()() {
2449     return GlobalEventHandlers_onpointerenter_Get(this._parent);
2450   }
2451   void onpointerleave()(EventHandler onpointerleave) {
2452     GlobalEventHandlers_onpointerleave_Set(this._parent, onpointerleave);
2453   }
2454   auto onpointerleave()() {
2455     return GlobalEventHandlers_onpointerleave_Get(this._parent);
2456   }
2457   void ontouchstart()(EventHandler ontouchstart) {
2458     GlobalEventHandlers_ontouchstart_Set(this._parent, ontouchstart);
2459   }
2460   auto ontouchstart()() {
2461     return GlobalEventHandlers_ontouchstart_Get(this._parent);
2462   }
2463   void ontouchend()(EventHandler ontouchend) {
2464     GlobalEventHandlers_ontouchend_Set(this._parent, ontouchend);
2465   }
2466   auto ontouchend()() {
2467     return GlobalEventHandlers_ontouchend_Get(this._parent);
2468   }
2469   void ontouchmove()(EventHandler ontouchmove) {
2470     GlobalEventHandlers_ontouchmove_Set(this._parent, ontouchmove);
2471   }
2472   auto ontouchmove()() {
2473     return GlobalEventHandlers_ontouchmove_Get(this._parent);
2474   }
2475   void ontouchcancel()(EventHandler ontouchcancel) {
2476     GlobalEventHandlers_ontouchcancel_Set(this._parent, ontouchcancel);
2477   }
2478   auto ontouchcancel()() {
2479     return GlobalEventHandlers_ontouchcancel_Get(this._parent);
2480   }
2481   auto style()() {
2482     return CSSStyleDeclaration(ElementCSSInlineStyle_style_Get(this._parent));
2483   }
2484 }
2485 struct HTMLEmbedElement {
2486   nothrow:
2487   spasm.bindings.html.HTMLElement _parent;
2488   alias _parent this;
2489   this(Handle h) {
2490     _parent = .HTMLElement(h);
2491   }
2492   void src()(string src) {
2493     HTMLEmbedElement_src_Set(this._parent, src);
2494   }
2495   auto src()() {
2496     return HTMLEmbedElement_src_Get(this._parent);
2497   }
2498   void type()(string type) {
2499     HTMLEmbedElement_type_Set(this._parent, type);
2500   }
2501   auto type()() {
2502     return HTMLEmbedElement_type_Get(this._parent);
2503   }
2504   void width()(string width) {
2505     HTMLEmbedElement_width_Set(this._parent, width);
2506   }
2507   auto width()() {
2508     return HTMLEmbedElement_width_Get(this._parent);
2509   }
2510   void height()(string height) {
2511     HTMLEmbedElement_height_Set(this._parent, height);
2512   }
2513   auto height()() {
2514     return HTMLEmbedElement_height_Get(this._parent);
2515   }
2516   auto getSVGDocument()() {
2517     return HTMLEmbedElement_getSVGDocument(this._parent);
2518   }
2519   void align_()(string align_) {
2520     HTMLEmbedElement_align_Set(this._parent, align_);
2521   }
2522   auto align_()() {
2523     return HTMLEmbedElement_align_Get(this._parent);
2524   }
2525   void name()(string name) {
2526     HTMLEmbedElement_name_Set(this._parent, name);
2527   }
2528   auto name()() {
2529     return HTMLEmbedElement_name_Get(this._parent);
2530   }
2531 }
2532 struct HTMLFieldSetElement {
2533   nothrow:
2534   spasm.bindings.html.HTMLElement _parent;
2535   alias _parent this;
2536   this(Handle h) {
2537     _parent = .HTMLElement(h);
2538   }
2539   void disabled()(bool disabled) {
2540     HTMLFieldSetElement_disabled_Set(this._parent, disabled);
2541   }
2542   auto disabled()() {
2543     return HTMLFieldSetElement_disabled_Get(this._parent);
2544   }
2545   auto form()() {
2546     return HTMLFieldSetElement_form_Get(this._parent);
2547   }
2548   void name()(string name) {
2549     HTMLFieldSetElement_name_Set(this._parent, name);
2550   }
2551   auto name()() {
2552     return HTMLFieldSetElement_name_Get(this._parent);
2553   }
2554   auto type()() {
2555     return HTMLFieldSetElement_type_Get(this._parent);
2556   }
2557   auto elements()() {
2558     return HTMLCollection(HTMLFieldSetElement_elements_Get(this._parent));
2559   }
2560   auto willValidate()() {
2561     return HTMLFieldSetElement_willValidate_Get(this._parent);
2562   }
2563   auto validity()() {
2564     return ValidityState(HTMLFieldSetElement_validity_Get(this._parent));
2565   }
2566   auto validationMessage()() {
2567     return HTMLFieldSetElement_validationMessage_Get(this._parent);
2568   }
2569   auto checkValidity()() {
2570     return HTMLFieldSetElement_checkValidity(this._parent);
2571   }
2572   auto reportValidity()() {
2573     return HTMLFieldSetElement_reportValidity(this._parent);
2574   }
2575   void setCustomValidity()(string error) {
2576     HTMLFieldSetElement_setCustomValidity(this._parent, error);
2577   }
2578 }
2579 struct HTMLFontElement {
2580   nothrow:
2581   spasm.bindings.html.HTMLElement _parent;
2582   alias _parent this;
2583   this(Handle h) {
2584     _parent = .HTMLElement(h);
2585   }
2586   void color()(string color) {
2587     HTMLFontElement_color_Set(this._parent, color);
2588   }
2589   auto color()() {
2590     return HTMLFontElement_color_Get(this._parent);
2591   }
2592   void face()(string face) {
2593     HTMLFontElement_face_Set(this._parent, face);
2594   }
2595   auto face()() {
2596     return HTMLFontElement_face_Get(this._parent);
2597   }
2598   void size()(string size) {
2599     HTMLFontElement_size_Set(this._parent, size);
2600   }
2601   auto size()() {
2602     return HTMLFontElement_size_Get(this._parent);
2603   }
2604 }
2605 struct HTMLFormControlsCollection {
2606   nothrow:
2607   spasm.bindings.dom.HTMLCollection _parent;
2608   alias _parent this;
2609   this(Handle h) {
2610     _parent = .HTMLCollection(h);
2611   }
2612   auto namedItem()(string name) {
2613     return HTMLFormControlsCollection_namedItem_getter(this._parent, name);
2614   }
2615 }
2616 struct HTMLFormElement {
2617   nothrow:
2618   spasm.bindings.html.HTMLElement _parent;
2619   alias _parent this;
2620   this(Handle h) {
2621     _parent = .HTMLElement(h);
2622   }
2623   void acceptCharset()(string acceptCharset) {
2624     HTMLFormElement_acceptCharset_Set(this._parent, acceptCharset);
2625   }
2626   auto acceptCharset()() {
2627     return HTMLFormElement_acceptCharset_Get(this._parent);
2628   }
2629   void action()(string action) {
2630     HTMLFormElement_action_Set(this._parent, action);
2631   }
2632   auto action()() {
2633     return HTMLFormElement_action_Get(this._parent);
2634   }
2635   void autocomplete()(string autocomplete) {
2636     HTMLFormElement_autocomplete_Set(this._parent, autocomplete);
2637   }
2638   auto autocomplete()() {
2639     return HTMLFormElement_autocomplete_Get(this._parent);
2640   }
2641   void enctype()(string enctype) {
2642     HTMLFormElement_enctype_Set(this._parent, enctype);
2643   }
2644   auto enctype()() {
2645     return HTMLFormElement_enctype_Get(this._parent);
2646   }
2647   void encoding()(string encoding) {
2648     HTMLFormElement_encoding_Set(this._parent, encoding);
2649   }
2650   auto encoding()() {
2651     return HTMLFormElement_encoding_Get(this._parent);
2652   }
2653   void method()(string method) {
2654     HTMLFormElement_method_Set(this._parent, method);
2655   }
2656   auto method()() {
2657     return HTMLFormElement_method_Get(this._parent);
2658   }
2659   void name()(string name) {
2660     HTMLFormElement_name_Set(this._parent, name);
2661   }
2662   auto name()() {
2663     return HTMLFormElement_name_Get(this._parent);
2664   }
2665   void noValidate()(bool noValidate) {
2666     HTMLFormElement_noValidate_Set(this._parent, noValidate);
2667   }
2668   auto noValidate()() {
2669     return HTMLFormElement_noValidate_Get(this._parent);
2670   }
2671   void target()(string target) {
2672     HTMLFormElement_target_Set(this._parent, target);
2673   }
2674   auto target()() {
2675     return HTMLFormElement_target_Get(this._parent);
2676   }
2677   auto elements()() {
2678     return HTMLFormControlsCollection(HTMLFormElement_elements_Get(this._parent));
2679   }
2680   auto length()() {
2681     return HTMLFormElement_length_Get(this._parent);
2682   }
2683   auto opIndex()(uint index) {
2684     return Element(HTMLFormElement_getter__uint(this._parent, index));
2685   }
2686   auto opDispatch(uint index)() {
2687     return Element(HTMLFormElement_getter__uint(this._parent, index));
2688   }
2689   auto opIndex()(string name) {
2690     return HTMLFormElement_getter__string(this._parent, name);
2691   }
2692   auto opDispatch(string name)() {
2693     return HTMLFormElement_getter__string(this._parent, name);
2694   }
2695   void submit()() {
2696     HTMLFormElement_submit(this._parent);
2697   }
2698   void reset()() {
2699     HTMLFormElement_reset(this._parent);
2700   }
2701   auto checkValidity()() {
2702     return HTMLFormElement_checkValidity(this._parent);
2703   }
2704   auto reportValidity()() {
2705     return HTMLFormElement_reportValidity(this._parent);
2706   }
2707 }
2708 struct HTMLFrameElement {
2709   nothrow:
2710   spasm.bindings.html.HTMLElement _parent;
2711   alias _parent this;
2712   this(Handle h) {
2713     _parent = .HTMLElement(h);
2714   }
2715   void name()(string name) {
2716     HTMLFrameElement_name_Set(this._parent, name);
2717   }
2718   auto name()() {
2719     return HTMLFrameElement_name_Get(this._parent);
2720   }
2721   void scrolling()(string scrolling) {
2722     HTMLFrameElement_scrolling_Set(this._parent, scrolling);
2723   }
2724   auto scrolling()() {
2725     return HTMLFrameElement_scrolling_Get(this._parent);
2726   }
2727   void src()(string src) {
2728     HTMLFrameElement_src_Set(this._parent, src);
2729   }
2730   auto src()() {
2731     return HTMLFrameElement_src_Get(this._parent);
2732   }
2733   void frameBorder()(string frameBorder) {
2734     HTMLFrameElement_frameBorder_Set(this._parent, frameBorder);
2735   }
2736   auto frameBorder()() {
2737     return HTMLFrameElement_frameBorder_Get(this._parent);
2738   }
2739   void longDesc()(string longDesc) {
2740     HTMLFrameElement_longDesc_Set(this._parent, longDesc);
2741   }
2742   auto longDesc()() {
2743     return HTMLFrameElement_longDesc_Get(this._parent);
2744   }
2745   void noResize()(bool noResize) {
2746     HTMLFrameElement_noResize_Set(this._parent, noResize);
2747   }
2748   auto noResize()() {
2749     return HTMLFrameElement_noResize_Get(this._parent);
2750   }
2751   auto contentDocument()() {
2752     return HTMLFrameElement_contentDocument_Get(this._parent);
2753   }
2754   auto contentWindow()() {
2755     return HTMLFrameElement_contentWindow_Get(this._parent);
2756   }
2757   void marginHeight()(string marginHeight) {
2758     HTMLFrameElement_marginHeight_Set(this._parent, marginHeight);
2759   }
2760   auto marginHeight()() {
2761     return HTMLFrameElement_marginHeight_Get(this._parent);
2762   }
2763   void marginWidth()(string marginWidth) {
2764     HTMLFrameElement_marginWidth_Set(this._parent, marginWidth);
2765   }
2766   auto marginWidth()() {
2767     return HTMLFrameElement_marginWidth_Get(this._parent);
2768   }
2769 }
2770 struct HTMLFrameSetElement {
2771   nothrow:
2772   spasm.bindings.html.HTMLElement _parent;
2773   alias _parent this;
2774   this(Handle h) {
2775     _parent = .HTMLElement(h);
2776   }
2777   void cols()(string cols) {
2778     HTMLFrameSetElement_cols_Set(this._parent, cols);
2779   }
2780   auto cols()() {
2781     return HTMLFrameSetElement_cols_Get(this._parent);
2782   }
2783   void rows()(string rows) {
2784     HTMLFrameSetElement_rows_Set(this._parent, rows);
2785   }
2786   auto rows()() {
2787     return HTMLFrameSetElement_rows_Get(this._parent);
2788   }
2789   void onafterprint()(EventHandler onafterprint) {
2790     WindowEventHandlers_onafterprint_Set(this._parent, onafterprint);
2791   }
2792   auto onafterprint()() {
2793     return WindowEventHandlers_onafterprint_Get(this._parent);
2794   }
2795   void onbeforeprint()(EventHandler onbeforeprint) {
2796     WindowEventHandlers_onbeforeprint_Set(this._parent, onbeforeprint);
2797   }
2798   auto onbeforeprint()() {
2799     return WindowEventHandlers_onbeforeprint_Get(this._parent);
2800   }
2801   void onbeforeunload(T0)(scope auto ref Optional!(T0) onbeforeunload) if (isTOrPointer!(T0, OnBeforeUnloadEventHandler)) {
2802     WindowEventHandlers_onbeforeunload_Set(this._parent, !onbeforeunload.empty, onbeforeunload.front);
2803   }
2804   auto onbeforeunload()() {
2805     return WindowEventHandlers_onbeforeunload_Get(this._parent);
2806   }
2807   void onhashchange()(EventHandler onhashchange) {
2808     WindowEventHandlers_onhashchange_Set(this._parent, onhashchange);
2809   }
2810   auto onhashchange()() {
2811     return WindowEventHandlers_onhashchange_Get(this._parent);
2812   }
2813   void onlanguagechange()(EventHandler onlanguagechange) {
2814     WindowEventHandlers_onlanguagechange_Set(this._parent, onlanguagechange);
2815   }
2816   auto onlanguagechange()() {
2817     return WindowEventHandlers_onlanguagechange_Get(this._parent);
2818   }
2819   void onmessage()(EventHandler onmessage) {
2820     WindowEventHandlers_onmessage_Set(this._parent, onmessage);
2821   }
2822   auto onmessage()() {
2823     return WindowEventHandlers_onmessage_Get(this._parent);
2824   }
2825   void onmessageerror()(EventHandler onmessageerror) {
2826     WindowEventHandlers_onmessageerror_Set(this._parent, onmessageerror);
2827   }
2828   auto onmessageerror()() {
2829     return WindowEventHandlers_onmessageerror_Get(this._parent);
2830   }
2831   void onoffline()(EventHandler onoffline) {
2832     WindowEventHandlers_onoffline_Set(this._parent, onoffline);
2833   }
2834   auto onoffline()() {
2835     return WindowEventHandlers_onoffline_Get(this._parent);
2836   }
2837   void ononline()(EventHandler ononline) {
2838     WindowEventHandlers_ononline_Set(this._parent, ononline);
2839   }
2840   auto ononline()() {
2841     return WindowEventHandlers_ononline_Get(this._parent);
2842   }
2843   void onpagehide()(EventHandler onpagehide) {
2844     WindowEventHandlers_onpagehide_Set(this._parent, onpagehide);
2845   }
2846   auto onpagehide()() {
2847     return WindowEventHandlers_onpagehide_Get(this._parent);
2848   }
2849   void onpageshow()(EventHandler onpageshow) {
2850     WindowEventHandlers_onpageshow_Set(this._parent, onpageshow);
2851   }
2852   auto onpageshow()() {
2853     return WindowEventHandlers_onpageshow_Get(this._parent);
2854   }
2855   void onpopstate()(EventHandler onpopstate) {
2856     WindowEventHandlers_onpopstate_Set(this._parent, onpopstate);
2857   }
2858   auto onpopstate()() {
2859     return WindowEventHandlers_onpopstate_Get(this._parent);
2860   }
2861   void onrejectionhandled()(EventHandler onrejectionhandled) {
2862     WindowEventHandlers_onrejectionhandled_Set(this._parent, onrejectionhandled);
2863   }
2864   auto onrejectionhandled()() {
2865     return WindowEventHandlers_onrejectionhandled_Get(this._parent);
2866   }
2867   void onstorage()(EventHandler onstorage) {
2868     WindowEventHandlers_onstorage_Set(this._parent, onstorage);
2869   }
2870   auto onstorage()() {
2871     return WindowEventHandlers_onstorage_Get(this._parent);
2872   }
2873   void onunhandledrejection()(EventHandler onunhandledrejection) {
2874     WindowEventHandlers_onunhandledrejection_Set(this._parent, onunhandledrejection);
2875   }
2876   auto onunhandledrejection()() {
2877     return WindowEventHandlers_onunhandledrejection_Get(this._parent);
2878   }
2879   void onunload()(EventHandler onunload) {
2880     WindowEventHandlers_onunload_Set(this._parent, onunload);
2881   }
2882   auto onunload()() {
2883     return WindowEventHandlers_onunload_Get(this._parent);
2884   }
2885 }
2886 struct HTMLHRElement {
2887   nothrow:
2888   spasm.bindings.html.HTMLElement _parent;
2889   alias _parent this;
2890   this(Handle h) {
2891     _parent = .HTMLElement(h);
2892   }
2893   void align_()(string align_) {
2894     HTMLHRElement_align_Set(this._parent, align_);
2895   }
2896   auto align_()() {
2897     return HTMLHRElement_align_Get(this._parent);
2898   }
2899   void color()(string color) {
2900     HTMLHRElement_color_Set(this._parent, color);
2901   }
2902   auto color()() {
2903     return HTMLHRElement_color_Get(this._parent);
2904   }
2905   void noShade()(bool noShade) {
2906     HTMLHRElement_noShade_Set(this._parent, noShade);
2907   }
2908   auto noShade()() {
2909     return HTMLHRElement_noShade_Get(this._parent);
2910   }
2911   void size()(string size) {
2912     HTMLHRElement_size_Set(this._parent, size);
2913   }
2914   auto size()() {
2915     return HTMLHRElement_size_Get(this._parent);
2916   }
2917   void width()(string width) {
2918     HTMLHRElement_width_Set(this._parent, width);
2919   }
2920   auto width()() {
2921     return HTMLHRElement_width_Get(this._parent);
2922   }
2923 }
2924 struct HTMLHeadElement {
2925   nothrow:
2926   spasm.bindings.html.HTMLElement _parent;
2927   alias _parent this;
2928   this(Handle h) {
2929     _parent = .HTMLElement(h);
2930   }
2931 }
2932 struct HTMLHeadingElement {
2933   nothrow:
2934   spasm.bindings.html.HTMLElement _parent;
2935   alias _parent this;
2936   this(Handle h) {
2937     _parent = .HTMLElement(h);
2938   }
2939   void align_()(string align_) {
2940     HTMLHeadingElement_align_Set(this._parent, align_);
2941   }
2942   auto align_()() {
2943     return HTMLHeadingElement_align_Get(this._parent);
2944   }
2945 }
2946 struct HTMLHtmlElement {
2947   nothrow:
2948   spasm.bindings.html.HTMLElement _parent;
2949   alias _parent this;
2950   this(Handle h) {
2951     _parent = .HTMLElement(h);
2952   }
2953   void version_()(string version_) {
2954     HTMLHtmlElement_version_Set(this._parent, version_);
2955   }
2956   auto version_()() {
2957     return HTMLHtmlElement_version_Get(this._parent);
2958   }
2959 }
2960 struct HTMLIFrameElement {
2961   nothrow:
2962   spasm.bindings.html.HTMLElement _parent;
2963   alias _parent this;
2964   this(Handle h) {
2965     _parent = .HTMLElement(h);
2966   }
2967   void src()(string src) {
2968     HTMLIFrameElement_src_Set(this._parent, src);
2969   }
2970   auto src()() {
2971     return HTMLIFrameElement_src_Get(this._parent);
2972   }
2973   void srcdoc()(string srcdoc) {
2974     HTMLIFrameElement_srcdoc_Set(this._parent, srcdoc);
2975   }
2976   auto srcdoc()() {
2977     return HTMLIFrameElement_srcdoc_Get(this._parent);
2978   }
2979   void name()(string name) {
2980     HTMLIFrameElement_name_Set(this._parent, name);
2981   }
2982   auto name()() {
2983     return HTMLIFrameElement_name_Get(this._parent);
2984   }
2985   auto sandbox()() {
2986     return DOMTokenList(HTMLIFrameElement_sandbox_Get(this._parent));
2987   }
2988   void allow()(string allow) {
2989     HTMLIFrameElement_allow_Set(this._parent, allow);
2990   }
2991   auto allow()() {
2992     return HTMLIFrameElement_allow_Get(this._parent);
2993   }
2994   void allowFullscreen()(bool allowFullscreen) {
2995     HTMLIFrameElement_allowFullscreen_Set(this._parent, allowFullscreen);
2996   }
2997   auto allowFullscreen()() {
2998     return HTMLIFrameElement_allowFullscreen_Get(this._parent);
2999   }
3000   void allowPaymentRequest()(bool allowPaymentRequest) {
3001     HTMLIFrameElement_allowPaymentRequest_Set(this._parent, allowPaymentRequest);
3002   }
3003   auto allowPaymentRequest()() {
3004     return HTMLIFrameElement_allowPaymentRequest_Get(this._parent);
3005   }
3006   void width()(string width) {
3007     HTMLIFrameElement_width_Set(this._parent, width);
3008   }
3009   auto width()() {
3010     return HTMLIFrameElement_width_Get(this._parent);
3011   }
3012   void height()(string height) {
3013     HTMLIFrameElement_height_Set(this._parent, height);
3014   }
3015   auto height()() {
3016     return HTMLIFrameElement_height_Get(this._parent);
3017   }
3018   void referrerPolicy()(string referrerPolicy) {
3019     HTMLIFrameElement_referrerPolicy_Set(this._parent, referrerPolicy);
3020   }
3021   auto referrerPolicy()() {
3022     return HTMLIFrameElement_referrerPolicy_Get(this._parent);
3023   }
3024   auto contentDocument()() {
3025     return HTMLIFrameElement_contentDocument_Get(this._parent);
3026   }
3027   auto contentWindow()() {
3028     return HTMLIFrameElement_contentWindow_Get(this._parent);
3029   }
3030   auto getSVGDocument()() {
3031     return HTMLIFrameElement_getSVGDocument(this._parent);
3032   }
3033   void align_()(string align_) {
3034     HTMLIFrameElement_align_Set(this._parent, align_);
3035   }
3036   auto align_()() {
3037     return HTMLIFrameElement_align_Get(this._parent);
3038   }
3039   void scrolling()(string scrolling) {
3040     HTMLIFrameElement_scrolling_Set(this._parent, scrolling);
3041   }
3042   auto scrolling()() {
3043     return HTMLIFrameElement_scrolling_Get(this._parent);
3044   }
3045   void frameBorder()(string frameBorder) {
3046     HTMLIFrameElement_frameBorder_Set(this._parent, frameBorder);
3047   }
3048   auto frameBorder()() {
3049     return HTMLIFrameElement_frameBorder_Get(this._parent);
3050   }
3051   void longDesc()(string longDesc) {
3052     HTMLIFrameElement_longDesc_Set(this._parent, longDesc);
3053   }
3054   auto longDesc()() {
3055     return HTMLIFrameElement_longDesc_Get(this._parent);
3056   }
3057   void marginHeight()(string marginHeight) {
3058     HTMLIFrameElement_marginHeight_Set(this._parent, marginHeight);
3059   }
3060   auto marginHeight()() {
3061     return HTMLIFrameElement_marginHeight_Get(this._parent);
3062   }
3063   void marginWidth()(string marginWidth) {
3064     HTMLIFrameElement_marginWidth_Set(this._parent, marginWidth);
3065   }
3066   auto marginWidth()() {
3067     return HTMLIFrameElement_marginWidth_Get(this._parent);
3068   }
3069 }
3070 struct HTMLImageElement {
3071   nothrow:
3072   spasm.bindings.html.HTMLElement _parent;
3073   alias _parent this;
3074   this(Handle h) {
3075     _parent = .HTMLElement(h);
3076   }
3077   void alt()(string alt) {
3078     HTMLImageElement_alt_Set(this._parent, alt);
3079   }
3080   auto alt()() {
3081     return HTMLImageElement_alt_Get(this._parent);
3082   }
3083   void src()(string src) {
3084     HTMLImageElement_src_Set(this._parent, src);
3085   }
3086   auto src()() {
3087     return HTMLImageElement_src_Get(this._parent);
3088   }
3089   void srcset()(string srcset) {
3090     HTMLImageElement_srcset_Set(this._parent, srcset);
3091   }
3092   auto srcset()() {
3093     return HTMLImageElement_srcset_Get(this._parent);
3094   }
3095   void sizes()(string sizes) {
3096     HTMLImageElement_sizes_Set(this._parent, sizes);
3097   }
3098   auto sizes()() {
3099     return HTMLImageElement_sizes_Get(this._parent);
3100   }
3101   void crossOrigin(T0)(scope auto ref Optional!(T0) crossOrigin) if (isTOrPointer!(T0, string)) {
3102     HTMLImageElement_crossOrigin_Set(this._parent, !crossOrigin.empty, crossOrigin.front);
3103   }
3104   auto crossOrigin()() {
3105     return HTMLImageElement_crossOrigin_Get(this._parent);
3106   }
3107   void useMap()(string useMap) {
3108     HTMLImageElement_useMap_Set(this._parent, useMap);
3109   }
3110   auto useMap()() {
3111     return HTMLImageElement_useMap_Get(this._parent);
3112   }
3113   void isMap()(bool isMap) {
3114     HTMLImageElement_isMap_Set(this._parent, isMap);
3115   }
3116   auto isMap()() {
3117     return HTMLImageElement_isMap_Get(this._parent);
3118   }
3119   void width()(uint width) {
3120     HTMLImageElement_width_Set(this._parent, width);
3121   }
3122   auto width()() {
3123     return HTMLImageElement_width_Get(this._parent);
3124   }
3125   void height()(uint height) {
3126     HTMLImageElement_height_Set(this._parent, height);
3127   }
3128   auto height()() {
3129     return HTMLImageElement_height_Get(this._parent);
3130   }
3131   auto naturalWidth()() {
3132     return HTMLImageElement_naturalWidth_Get(this._parent);
3133   }
3134   auto naturalHeight()() {
3135     return HTMLImageElement_naturalHeight_Get(this._parent);
3136   }
3137   auto complete()() {
3138     return HTMLImageElement_complete_Get(this._parent);
3139   }
3140   auto currentSrc()() {
3141     return HTMLImageElement_currentSrc_Get(this._parent);
3142   }
3143   void referrerPolicy()(string referrerPolicy) {
3144     HTMLImageElement_referrerPolicy_Set(this._parent, referrerPolicy);
3145   }
3146   auto referrerPolicy()() {
3147     return HTMLImageElement_referrerPolicy_Get(this._parent);
3148   }
3149   void decoding()(string decoding) {
3150     HTMLImageElement_decoding_Set(this._parent, decoding);
3151   }
3152   auto decoding()() {
3153     return HTMLImageElement_decoding_Get(this._parent);
3154   }
3155   auto decode()() {
3156     return Promise!(void)(HTMLImageElement_decode(this._parent));
3157   }
3158   auto x()() {
3159     return HTMLImageElement_x_Get(this._parent);
3160   }
3161   auto y()() {
3162     return HTMLImageElement_y_Get(this._parent);
3163   }
3164   void name()(string name) {
3165     HTMLImageElement_name_Set(this._parent, name);
3166   }
3167   auto name()() {
3168     return HTMLImageElement_name_Get(this._parent);
3169   }
3170   void lowsrc()(string lowsrc) {
3171     HTMLImageElement_lowsrc_Set(this._parent, lowsrc);
3172   }
3173   auto lowsrc()() {
3174     return HTMLImageElement_lowsrc_Get(this._parent);
3175   }
3176   void align_()(string align_) {
3177     HTMLImageElement_align_Set(this._parent, align_);
3178   }
3179   auto align_()() {
3180     return HTMLImageElement_align_Get(this._parent);
3181   }
3182   void hspace()(uint hspace) {
3183     HTMLImageElement_hspace_Set(this._parent, hspace);
3184   }
3185   auto hspace()() {
3186     return HTMLImageElement_hspace_Get(this._parent);
3187   }
3188   void vspace()(uint vspace) {
3189     HTMLImageElement_vspace_Set(this._parent, vspace);
3190   }
3191   auto vspace()() {
3192     return HTMLImageElement_vspace_Get(this._parent);
3193   }
3194   void longDesc()(string longDesc) {
3195     HTMLImageElement_longDesc_Set(this._parent, longDesc);
3196   }
3197   auto longDesc()() {
3198     return HTMLImageElement_longDesc_Get(this._parent);
3199   }
3200   void border()(string border) {
3201     HTMLImageElement_border_Set(this._parent, border);
3202   }
3203   auto border()() {
3204     return HTMLImageElement_border_Get(this._parent);
3205   }
3206 }
3207 struct HTMLInputElement {
3208   nothrow:
3209   spasm.bindings.html.HTMLElement _parent;
3210   alias _parent this;
3211   this(Handle h) {
3212     _parent = .HTMLElement(h);
3213   }
3214   void accept()(string accept) {
3215     HTMLInputElement_accept_Set(this._parent, accept);
3216   }
3217   auto accept()() {
3218     return HTMLInputElement_accept_Get(this._parent);
3219   }
3220   void alt()(string alt) {
3221     HTMLInputElement_alt_Set(this._parent, alt);
3222   }
3223   auto alt()() {
3224     return HTMLInputElement_alt_Get(this._parent);
3225   }
3226   void autocomplete()(string autocomplete) {
3227     HTMLInputElement_autocomplete_Set(this._parent, autocomplete);
3228   }
3229   auto autocomplete()() {
3230     return HTMLInputElement_autocomplete_Get(this._parent);
3231   }
3232   void autofocus()(bool autofocus) {
3233     HTMLInputElement_autofocus_Set(this._parent, autofocus);
3234   }
3235   auto autofocus()() {
3236     return HTMLInputElement_autofocus_Get(this._parent);
3237   }
3238   void defaultChecked()(bool defaultChecked) {
3239     HTMLInputElement_defaultChecked_Set(this._parent, defaultChecked);
3240   }
3241   auto defaultChecked()() {
3242     return HTMLInputElement_defaultChecked_Get(this._parent);
3243   }
3244   void checked()(bool checked) {
3245     HTMLInputElement_checked_Set(this._parent, checked);
3246   }
3247   auto checked()() {
3248     return HTMLInputElement_checked_Get(this._parent);
3249   }
3250   void dirName()(string dirName) {
3251     HTMLInputElement_dirName_Set(this._parent, dirName);
3252   }
3253   auto dirName()() {
3254     return HTMLInputElement_dirName_Get(this._parent);
3255   }
3256   void disabled()(bool disabled) {
3257     HTMLInputElement_disabled_Set(this._parent, disabled);
3258   }
3259   auto disabled()() {
3260     return HTMLInputElement_disabled_Get(this._parent);
3261   }
3262   auto form()() {
3263     return HTMLInputElement_form_Get(this._parent);
3264   }
3265   void files(T0)(scope auto ref Optional!(T0) files) if (isTOrPointer!(T0, FileList)) {
3266     HTMLInputElement_files_Set(this._parent, !files.empty, files.front.handle);
3267   }
3268   auto files()() {
3269     return HTMLInputElement_files_Get(this._parent);
3270   }
3271   void formAction()(string formAction) {
3272     HTMLInputElement_formAction_Set(this._parent, formAction);
3273   }
3274   auto formAction()() {
3275     return HTMLInputElement_formAction_Get(this._parent);
3276   }
3277   void formEnctype()(string formEnctype) {
3278     HTMLInputElement_formEnctype_Set(this._parent, formEnctype);
3279   }
3280   auto formEnctype()() {
3281     return HTMLInputElement_formEnctype_Get(this._parent);
3282   }
3283   void formMethod()(string formMethod) {
3284     HTMLInputElement_formMethod_Set(this._parent, formMethod);
3285   }
3286   auto formMethod()() {
3287     return HTMLInputElement_formMethod_Get(this._parent);
3288   }
3289   void formNoValidate()(bool formNoValidate) {
3290     HTMLInputElement_formNoValidate_Set(this._parent, formNoValidate);
3291   }
3292   auto formNoValidate()() {
3293     return HTMLInputElement_formNoValidate_Get(this._parent);
3294   }
3295   void formTarget()(string formTarget) {
3296     HTMLInputElement_formTarget_Set(this._parent, formTarget);
3297   }
3298   auto formTarget()() {
3299     return HTMLInputElement_formTarget_Get(this._parent);
3300   }
3301   void height()(uint height) {
3302     HTMLInputElement_height_Set(this._parent, height);
3303   }
3304   auto height()() {
3305     return HTMLInputElement_height_Get(this._parent);
3306   }
3307   void indeterminate()(bool indeterminate) {
3308     HTMLInputElement_indeterminate_Set(this._parent, indeterminate);
3309   }
3310   auto indeterminate()() {
3311     return HTMLInputElement_indeterminate_Get(this._parent);
3312   }
3313   auto list()() {
3314     return HTMLInputElement_list_Get(this._parent);
3315   }
3316   void max()(string max) {
3317     HTMLInputElement_max_Set(this._parent, max);
3318   }
3319   auto max()() {
3320     return HTMLInputElement_max_Get(this._parent);
3321   }
3322   void maxLength()(int maxLength) {
3323     HTMLInputElement_maxLength_Set(this._parent, maxLength);
3324   }
3325   auto maxLength()() {
3326     return HTMLInputElement_maxLength_Get(this._parent);
3327   }
3328   void min()(string min) {
3329     HTMLInputElement_min_Set(this._parent, min);
3330   }
3331   auto min()() {
3332     return HTMLInputElement_min_Get(this._parent);
3333   }
3334   void minLength()(int minLength) {
3335     HTMLInputElement_minLength_Set(this._parent, minLength);
3336   }
3337   auto minLength()() {
3338     return HTMLInputElement_minLength_Get(this._parent);
3339   }
3340   void multiple()(bool multiple) {
3341     HTMLInputElement_multiple_Set(this._parent, multiple);
3342   }
3343   auto multiple()() {
3344     return HTMLInputElement_multiple_Get(this._parent);
3345   }
3346   void name()(string name) {
3347     HTMLInputElement_name_Set(this._parent, name);
3348   }
3349   auto name()() {
3350     return HTMLInputElement_name_Get(this._parent);
3351   }
3352   void pattern()(string pattern) {
3353     HTMLInputElement_pattern_Set(this._parent, pattern);
3354   }
3355   auto pattern()() {
3356     return HTMLInputElement_pattern_Get(this._parent);
3357   }
3358   void placeholder()(string placeholder) {
3359     HTMLInputElement_placeholder_Set(this._parent, placeholder);
3360   }
3361   auto placeholder()() {
3362     return HTMLInputElement_placeholder_Get(this._parent);
3363   }
3364   void readOnly()(bool readOnly) {
3365     HTMLInputElement_readOnly_Set(this._parent, readOnly);
3366   }
3367   auto readOnly()() {
3368     return HTMLInputElement_readOnly_Get(this._parent);
3369   }
3370   void required()(bool required) {
3371     HTMLInputElement_required_Set(this._parent, required);
3372   }
3373   auto required()() {
3374     return HTMLInputElement_required_Get(this._parent);
3375   }
3376   void size()(uint size) {
3377     HTMLInputElement_size_Set(this._parent, size);
3378   }
3379   auto size()() {
3380     return HTMLInputElement_size_Get(this._parent);
3381   }
3382   void src()(string src) {
3383     HTMLInputElement_src_Set(this._parent, src);
3384   }
3385   auto src()() {
3386     return HTMLInputElement_src_Get(this._parent);
3387   }
3388   void step()(string step) {
3389     HTMLInputElement_step_Set(this._parent, step);
3390   }
3391   auto step()() {
3392     return HTMLInputElement_step_Get(this._parent);
3393   }
3394   void type()(string type) {
3395     HTMLInputElement_type_Set(this._parent, type);
3396   }
3397   auto type()() {
3398     return HTMLInputElement_type_Get(this._parent);
3399   }
3400   void defaultValue()(string defaultValue) {
3401     HTMLInputElement_defaultValue_Set(this._parent, defaultValue);
3402   }
3403   auto defaultValue()() {
3404     return HTMLInputElement_defaultValue_Get(this._parent);
3405   }
3406   void value()(string value) {
3407     HTMLInputElement_value_Set(this._parent, value);
3408   }
3409   auto value()() {
3410     return HTMLInputElement_value_Get(this._parent);
3411   }
3412   void valueAsDate(T0)(scope auto ref Optional!(T0) valueAsDate) if (isTOrPointer!(T0, JsObject)) {
3413     HTMLInputElement_valueAsDate_Set(this._parent, !valueAsDate.empty, valueAsDate.front.handle);
3414   }
3415   auto valueAsDate()() {
3416     return HTMLInputElement_valueAsDate_Get(this._parent);
3417   }
3418   void valueAsNumber()(double valueAsNumber) {
3419     HTMLInputElement_valueAsNumber_Set(this._parent, valueAsNumber);
3420   }
3421   auto valueAsNumber()() {
3422     return HTMLInputElement_valueAsNumber_Get(this._parent);
3423   }
3424   void width()(uint width) {
3425     HTMLInputElement_width_Set(this._parent, width);
3426   }
3427   auto width()() {
3428     return HTMLInputElement_width_Get(this._parent);
3429   }
3430   void stepUp()(int n /* = 1 */) {
3431     HTMLInputElement_stepUp(this._parent, n);
3432   }
3433   void stepUp()() {
3434     HTMLInputElement_stepUp_0(this._parent);
3435   }
3436   void stepDown()(int n /* = 1 */) {
3437     HTMLInputElement_stepDown(this._parent, n);
3438   }
3439   void stepDown()() {
3440     HTMLInputElement_stepDown_0(this._parent);
3441   }
3442   auto willValidate()() {
3443     return HTMLInputElement_willValidate_Get(this._parent);
3444   }
3445   auto validity()() {
3446     return ValidityState(HTMLInputElement_validity_Get(this._parent));
3447   }
3448   auto validationMessage()() {
3449     return HTMLInputElement_validationMessage_Get(this._parent);
3450   }
3451   auto checkValidity()() {
3452     return HTMLInputElement_checkValidity(this._parent);
3453   }
3454   auto reportValidity()() {
3455     return HTMLInputElement_reportValidity(this._parent);
3456   }
3457   void setCustomValidity()(string error) {
3458     HTMLInputElement_setCustomValidity(this._parent, error);
3459   }
3460   auto labels()() {
3461     return HTMLInputElement_labels_Get(this._parent);
3462   }
3463   void select()() {
3464     HTMLInputElement_select(this._parent);
3465   }
3466   void selectionStart(T0)(scope auto ref Optional!(T0) selectionStart) if (isTOrPointer!(T0, uint)) {
3467     HTMLInputElement_selectionStart_Set(this._parent, !selectionStart.empty, selectionStart.front);
3468   }
3469   auto selectionStart()() {
3470     return HTMLInputElement_selectionStart_Get(this._parent);
3471   }
3472   void selectionEnd(T0)(scope auto ref Optional!(T0) selectionEnd) if (isTOrPointer!(T0, uint)) {
3473     HTMLInputElement_selectionEnd_Set(this._parent, !selectionEnd.empty, selectionEnd.front);
3474   }
3475   auto selectionEnd()() {
3476     return HTMLInputElement_selectionEnd_Get(this._parent);
3477   }
3478   void selectionDirection(T0)(scope auto ref Optional!(T0) selectionDirection) if (isTOrPointer!(T0, string)) {
3479     HTMLInputElement_selectionDirection_Set(this._parent, !selectionDirection.empty, selectionDirection.front);
3480   }
3481   auto selectionDirection()() {
3482     return HTMLInputElement_selectionDirection_Get(this._parent);
3483   }
3484   void setRangeText()(string replacement) {
3485     HTMLInputElement_setRangeText__string(this._parent, replacement);
3486   }
3487   void setRangeText()(string replacement, uint start, uint end, SelectionMode selectionMode /* = "preserve" */) {
3488     HTMLInputElement_setRangeText__string_uint_uint_SelectionMode(this._parent, replacement, start, end, selectionMode);
3489   }
3490   void setRangeText()(string replacement, uint start, uint end) {
3491     HTMLInputElement_setRangeText_0(this._parent, replacement, start, end);
3492   }
3493   void setSelectionRange()(uint start, uint end, string direction) {
3494     HTMLInputElement_setSelectionRange(this._parent, start, end, direction);
3495   }
3496   void setSelectionRange()(uint start, uint end) {
3497     HTMLInputElement_setSelectionRange_0(this._parent, start, end);
3498   }
3499   void align_()(string align_) {
3500     HTMLInputElement_align_Set(this._parent, align_);
3501   }
3502   auto align_()() {
3503     return HTMLInputElement_align_Get(this._parent);
3504   }
3505   void useMap()(string useMap) {
3506     HTMLInputElement_useMap_Set(this._parent, useMap);
3507   }
3508   auto useMap()() {
3509     return HTMLInputElement_useMap_Get(this._parent);
3510   }
3511 }
3512 struct HTMLLIElement {
3513   nothrow:
3514   spasm.bindings.html.HTMLElement _parent;
3515   alias _parent this;
3516   this(Handle h) {
3517     _parent = .HTMLElement(h);
3518   }
3519   void value()(int value) {
3520     HTMLLIElement_value_Set(this._parent, value);
3521   }
3522   auto value()() {
3523     return HTMLLIElement_value_Get(this._parent);
3524   }
3525   void type()(string type) {
3526     HTMLLIElement_type_Set(this._parent, type);
3527   }
3528   auto type()() {
3529     return HTMLLIElement_type_Get(this._parent);
3530   }
3531 }
3532 struct HTMLLabelElement {
3533   nothrow:
3534   spasm.bindings.html.HTMLElement _parent;
3535   alias _parent this;
3536   this(Handle h) {
3537     _parent = .HTMLElement(h);
3538   }
3539   auto form()() {
3540     return HTMLLabelElement_form_Get(this._parent);
3541   }
3542   void htmlFor()(string htmlFor) {
3543     HTMLLabelElement_htmlFor_Set(this._parent, htmlFor);
3544   }
3545   auto htmlFor()() {
3546     return HTMLLabelElement_htmlFor_Get(this._parent);
3547   }
3548   auto control()() {
3549     return HTMLLabelElement_control_Get(this._parent);
3550   }
3551 }
3552 struct HTMLLegendElement {
3553   nothrow:
3554   spasm.bindings.html.HTMLElement _parent;
3555   alias _parent this;
3556   this(Handle h) {
3557     _parent = .HTMLElement(h);
3558   }
3559   auto form()() {
3560     return HTMLLegendElement_form_Get(this._parent);
3561   }
3562   void align_()(string align_) {
3563     HTMLLegendElement_align_Set(this._parent, align_);
3564   }
3565   auto align_()() {
3566     return HTMLLegendElement_align_Get(this._parent);
3567   }
3568 }
3569 struct HTMLLinkElement {
3570   nothrow:
3571   spasm.bindings.html.HTMLElement _parent;
3572   alias _parent this;
3573   this(Handle h) {
3574     _parent = .HTMLElement(h);
3575   }
3576   void href()(string href) {
3577     HTMLLinkElement_href_Set(this._parent, href);
3578   }
3579   auto href()() {
3580     return HTMLLinkElement_href_Get(this._parent);
3581   }
3582   void crossOrigin(T0)(scope auto ref Optional!(T0) crossOrigin) if (isTOrPointer!(T0, string)) {
3583     HTMLLinkElement_crossOrigin_Set(this._parent, !crossOrigin.empty, crossOrigin.front);
3584   }
3585   auto crossOrigin()() {
3586     return HTMLLinkElement_crossOrigin_Get(this._parent);
3587   }
3588   void rel()(string rel) {
3589     HTMLLinkElement_rel_Set(this._parent, rel);
3590   }
3591   auto rel()() {
3592     return HTMLLinkElement_rel_Get(this._parent);
3593   }
3594   void as()(string as) {
3595     HTMLLinkElement_as_Set(this._parent, as);
3596   }
3597   auto as()() {
3598     return HTMLLinkElement_as_Get(this._parent);
3599   }
3600   auto relList()() {
3601     return DOMTokenList(HTMLLinkElement_relList_Get(this._parent));
3602   }
3603   void media()(string media) {
3604     HTMLLinkElement_media_Set(this._parent, media);
3605   }
3606   auto media()() {
3607     return HTMLLinkElement_media_Get(this._parent);
3608   }
3609   void integrity()(string integrity) {
3610     HTMLLinkElement_integrity_Set(this._parent, integrity);
3611   }
3612   auto integrity()() {
3613     return HTMLLinkElement_integrity_Get(this._parent);
3614   }
3615   void hreflang()(string hreflang) {
3616     HTMLLinkElement_hreflang_Set(this._parent, hreflang);
3617   }
3618   auto hreflang()() {
3619     return HTMLLinkElement_hreflang_Get(this._parent);
3620   }
3621   void type()(string type) {
3622     HTMLLinkElement_type_Set(this._parent, type);
3623   }
3624   auto type()() {
3625     return HTMLLinkElement_type_Get(this._parent);
3626   }
3627   auto sizes()() {
3628     return DOMTokenList(HTMLLinkElement_sizes_Get(this._parent));
3629   }
3630   void referrerPolicy()(string referrerPolicy) {
3631     HTMLLinkElement_referrerPolicy_Set(this._parent, referrerPolicy);
3632   }
3633   auto referrerPolicy()() {
3634     return HTMLLinkElement_referrerPolicy_Get(this._parent);
3635   }
3636   void charset()(string charset) {
3637     HTMLLinkElement_charset_Set(this._parent, charset);
3638   }
3639   auto charset()() {
3640     return HTMLLinkElement_charset_Get(this._parent);
3641   }
3642   void rev()(string rev) {
3643     HTMLLinkElement_rev_Set(this._parent, rev);
3644   }
3645   auto rev()() {
3646     return HTMLLinkElement_rev_Get(this._parent);
3647   }
3648   void target()(string target) {
3649     HTMLLinkElement_target_Set(this._parent, target);
3650   }
3651   auto target()() {
3652     return HTMLLinkElement_target_Get(this._parent);
3653   }
3654 }
3655 struct HTMLMapElement {
3656   nothrow:
3657   spasm.bindings.html.HTMLElement _parent;
3658   alias _parent this;
3659   this(Handle h) {
3660     _parent = .HTMLElement(h);
3661   }
3662   void name()(string name) {
3663     HTMLMapElement_name_Set(this._parent, name);
3664   }
3665   auto name()() {
3666     return HTMLMapElement_name_Get(this._parent);
3667   }
3668   auto areas()() {
3669     return HTMLCollection(HTMLMapElement_areas_Get(this._parent));
3670   }
3671 }
3672 struct HTMLMarqueeElement {
3673   nothrow:
3674   spasm.bindings.html.HTMLElement _parent;
3675   alias _parent this;
3676   this(Handle h) {
3677     _parent = .HTMLElement(h);
3678   }
3679   void behavior()(string behavior) {
3680     HTMLMarqueeElement_behavior_Set(this._parent, behavior);
3681   }
3682   auto behavior()() {
3683     return HTMLMarqueeElement_behavior_Get(this._parent);
3684   }
3685   void bgColor()(string bgColor) {
3686     HTMLMarqueeElement_bgColor_Set(this._parent, bgColor);
3687   }
3688   auto bgColor()() {
3689     return HTMLMarqueeElement_bgColor_Get(this._parent);
3690   }
3691   void direction()(string direction) {
3692     HTMLMarqueeElement_direction_Set(this._parent, direction);
3693   }
3694   auto direction()() {
3695     return HTMLMarqueeElement_direction_Get(this._parent);
3696   }
3697   void height()(string height) {
3698     HTMLMarqueeElement_height_Set(this._parent, height);
3699   }
3700   auto height()() {
3701     return HTMLMarqueeElement_height_Get(this._parent);
3702   }
3703   void hspace()(uint hspace) {
3704     HTMLMarqueeElement_hspace_Set(this._parent, hspace);
3705   }
3706   auto hspace()() {
3707     return HTMLMarqueeElement_hspace_Get(this._parent);
3708   }
3709   void loop()(int loop) {
3710     HTMLMarqueeElement_loop_Set(this._parent, loop);
3711   }
3712   auto loop()() {
3713     return HTMLMarqueeElement_loop_Get(this._parent);
3714   }
3715   void scrollAmount()(uint scrollAmount) {
3716     HTMLMarqueeElement_scrollAmount_Set(this._parent, scrollAmount);
3717   }
3718   auto scrollAmount()() {
3719     return HTMLMarqueeElement_scrollAmount_Get(this._parent);
3720   }
3721   void scrollDelay()(uint scrollDelay) {
3722     HTMLMarqueeElement_scrollDelay_Set(this._parent, scrollDelay);
3723   }
3724   auto scrollDelay()() {
3725     return HTMLMarqueeElement_scrollDelay_Get(this._parent);
3726   }
3727   void trueSpeed()(bool trueSpeed) {
3728     HTMLMarqueeElement_trueSpeed_Set(this._parent, trueSpeed);
3729   }
3730   auto trueSpeed()() {
3731     return HTMLMarqueeElement_trueSpeed_Get(this._parent);
3732   }
3733   void vspace()(uint vspace) {
3734     HTMLMarqueeElement_vspace_Set(this._parent, vspace);
3735   }
3736   auto vspace()() {
3737     return HTMLMarqueeElement_vspace_Get(this._parent);
3738   }
3739   void width()(string width) {
3740     HTMLMarqueeElement_width_Set(this._parent, width);
3741   }
3742   auto width()() {
3743     return HTMLMarqueeElement_width_Get(this._parent);
3744   }
3745   void onbounce()(EventHandler onbounce) {
3746     HTMLMarqueeElement_onbounce_Set(this._parent, onbounce);
3747   }
3748   auto onbounce()() {
3749     return HTMLMarqueeElement_onbounce_Get(this._parent);
3750   }
3751   void onfinish()(EventHandler onfinish) {
3752     HTMLMarqueeElement_onfinish_Set(this._parent, onfinish);
3753   }
3754   auto onfinish()() {
3755     return HTMLMarqueeElement_onfinish_Get(this._parent);
3756   }
3757   void onstart()(EventHandler onstart) {
3758     HTMLMarqueeElement_onstart_Set(this._parent, onstart);
3759   }
3760   auto onstart()() {
3761     return HTMLMarqueeElement_onstart_Get(this._parent);
3762   }
3763   void start()() {
3764     HTMLMarqueeElement_start(this._parent);
3765   }
3766   void stop()() {
3767     HTMLMarqueeElement_stop(this._parent);
3768   }
3769 }
3770 struct HTMLMediaElement {
3771   nothrow:
3772   spasm.bindings.html.HTMLElement _parent;
3773   alias _parent this;
3774   this(Handle h) {
3775     _parent = .HTMLElement(h);
3776   }
3777   auto error()() {
3778     return HTMLMediaElement_error_Get(this._parent);
3779   }
3780   void src()(string src) {
3781     HTMLMediaElement_src_Set(this._parent, src);
3782   }
3783   auto src()() {
3784     return HTMLMediaElement_src_Get(this._parent);
3785   }
3786   void srcObject(T0)(scope auto ref Optional!(T0) srcObject) if (isTOrPointer!(T0, MediaProvider)) {
3787     HTMLMediaElement_srcObject_Set(this._parent, !srcObject.empty, *srcObject.frontRef);
3788   }
3789   auto srcObject()() {
3790     return HTMLMediaElement_srcObject_Get(this._parent);
3791   }
3792   auto currentSrc()() {
3793     return HTMLMediaElement_currentSrc_Get(this._parent);
3794   }
3795   void crossOrigin(T0)(scope auto ref Optional!(T0) crossOrigin) if (isTOrPointer!(T0, string)) {
3796     HTMLMediaElement_crossOrigin_Set(this._parent, !crossOrigin.empty, crossOrigin.front);
3797   }
3798   auto crossOrigin()() {
3799     return HTMLMediaElement_crossOrigin_Get(this._parent);
3800   }
3801   enum ushort NETWORK_EMPTY = 0;
3802   enum ushort NETWORK_IDLE = 1;
3803   enum ushort NETWORK_LOADING = 2;
3804   enum ushort NETWORK_NO_SOURCE = 3;
3805   auto networkState()() {
3806     return HTMLMediaElement_networkState_Get(this._parent);
3807   }
3808   void preload()(string preload) {
3809     HTMLMediaElement_preload_Set(this._parent, preload);
3810   }
3811   auto preload()() {
3812     return HTMLMediaElement_preload_Get(this._parent);
3813   }
3814   auto buffered()() {
3815     return TimeRanges(HTMLMediaElement_buffered_Get(this._parent));
3816   }
3817   void load()() {
3818     HTMLMediaElement_load(this._parent);
3819   }
3820   auto canPlayType()(string type) {
3821     return HTMLMediaElement_canPlayType(this._parent, type);
3822   }
3823   enum ushort HAVE_NOTHING = 0;
3824   enum ushort HAVE_METADATA = 1;
3825   enum ushort HAVE_CURRENT_DATA = 2;
3826   enum ushort HAVE_FUTURE_DATA = 3;
3827   enum ushort HAVE_ENOUGH_DATA = 4;
3828   auto readyState()() {
3829     return HTMLMediaElement_readyState_Get(this._parent);
3830   }
3831   auto seeking()() {
3832     return HTMLMediaElement_seeking_Get(this._parent);
3833   }
3834   void currentTime()(double currentTime) {
3835     HTMLMediaElement_currentTime_Set(this._parent, currentTime);
3836   }
3837   auto currentTime()() {
3838     return HTMLMediaElement_currentTime_Get(this._parent);
3839   }
3840   void fastSeek()(double time) {
3841     HTMLMediaElement_fastSeek(this._parent, time);
3842   }
3843   auto duration()() {
3844     return HTMLMediaElement_duration_Get(this._parent);
3845   }
3846   auto getStartDate()() {
3847     return JsObject(HTMLMediaElement_getStartDate(this._parent));
3848   }
3849   auto paused()() {
3850     return HTMLMediaElement_paused_Get(this._parent);
3851   }
3852   void defaultPlaybackRate()(double defaultPlaybackRate) {
3853     HTMLMediaElement_defaultPlaybackRate_Set(this._parent, defaultPlaybackRate);
3854   }
3855   auto defaultPlaybackRate()() {
3856     return HTMLMediaElement_defaultPlaybackRate_Get(this._parent);
3857   }
3858   void playbackRate()(double playbackRate) {
3859     HTMLMediaElement_playbackRate_Set(this._parent, playbackRate);
3860   }
3861   auto playbackRate()() {
3862     return HTMLMediaElement_playbackRate_Get(this._parent);
3863   }
3864   auto played()() {
3865     return TimeRanges(HTMLMediaElement_played_Get(this._parent));
3866   }
3867   auto seekable()() {
3868     return TimeRanges(HTMLMediaElement_seekable_Get(this._parent));
3869   }
3870   auto ended()() {
3871     return HTMLMediaElement_ended_Get(this._parent);
3872   }
3873   void autoplay()(bool autoplay) {
3874     HTMLMediaElement_autoplay_Set(this._parent, autoplay);
3875   }
3876   auto autoplay()() {
3877     return HTMLMediaElement_autoplay_Get(this._parent);
3878   }
3879   void loop()(bool loop) {
3880     HTMLMediaElement_loop_Set(this._parent, loop);
3881   }
3882   auto loop()() {
3883     return HTMLMediaElement_loop_Get(this._parent);
3884   }
3885   auto play()() {
3886     return Promise!(void)(HTMLMediaElement_play(this._parent));
3887   }
3888   void pause()() {
3889     HTMLMediaElement_pause(this._parent);
3890   }
3891   void controls()(bool controls) {
3892     HTMLMediaElement_controls_Set(this._parent, controls);
3893   }
3894   auto controls()() {
3895     return HTMLMediaElement_controls_Get(this._parent);
3896   }
3897   void volume()(double volume) {
3898     HTMLMediaElement_volume_Set(this._parent, volume);
3899   }
3900   auto volume()() {
3901     return HTMLMediaElement_volume_Get(this._parent);
3902   }
3903   void muted()(bool muted) {
3904     HTMLMediaElement_muted_Set(this._parent, muted);
3905   }
3906   auto muted()() {
3907     return HTMLMediaElement_muted_Get(this._parent);
3908   }
3909   void defaultMuted()(bool defaultMuted) {
3910     HTMLMediaElement_defaultMuted_Set(this._parent, defaultMuted);
3911   }
3912   auto defaultMuted()() {
3913     return HTMLMediaElement_defaultMuted_Get(this._parent);
3914   }
3915   auto audioTracks()() {
3916     return AudioTrackList(HTMLMediaElement_audioTracks_Get(this._parent));
3917   }
3918   auto videoTracks()() {
3919     return VideoTrackList(HTMLMediaElement_videoTracks_Get(this._parent));
3920   }
3921   auto textTracks()() {
3922     return TextTrackList(HTMLMediaElement_textTracks_Get(this._parent));
3923   }
3924   auto addTextTrack()(TextTrackKind kind, string label /* = "" */, string language /* = "" */) {
3925     return TextTrack(HTMLMediaElement_addTextTrack(this._parent, kind, label, language));
3926   }
3927   auto addTextTrack()(TextTrackKind kind, string label /* = "" */) {
3928     return TextTrack(HTMLMediaElement_addTextTrack_0(this._parent, kind, label));
3929   }
3930   auto addTextTrack()(TextTrackKind kind) {
3931     return TextTrack(HTMLMediaElement_addTextTrack_1(this._parent, kind));
3932   }
3933 }
3934 struct HTMLMenuElement {
3935   nothrow:
3936   spasm.bindings.html.HTMLElement _parent;
3937   alias _parent this;
3938   this(Handle h) {
3939     _parent = .HTMLElement(h);
3940   }
3941   void compact()(bool compact) {
3942     HTMLMenuElement_compact_Set(this._parent, compact);
3943   }
3944   auto compact()() {
3945     return HTMLMenuElement_compact_Get(this._parent);
3946   }
3947 }
3948 struct HTMLMetaElement {
3949   nothrow:
3950   spasm.bindings.html.HTMLElement _parent;
3951   alias _parent this;
3952   this(Handle h) {
3953     _parent = .HTMLElement(h);
3954   }
3955   void name()(string name) {
3956     HTMLMetaElement_name_Set(this._parent, name);
3957   }
3958   auto name()() {
3959     return HTMLMetaElement_name_Get(this._parent);
3960   }
3961   void httpEquiv()(string httpEquiv) {
3962     HTMLMetaElement_httpEquiv_Set(this._parent, httpEquiv);
3963   }
3964   auto httpEquiv()() {
3965     return HTMLMetaElement_httpEquiv_Get(this._parent);
3966   }
3967   void content()(string content) {
3968     HTMLMetaElement_content_Set(this._parent, content);
3969   }
3970   auto content()() {
3971     return HTMLMetaElement_content_Get(this._parent);
3972   }
3973   void scheme()(string scheme) {
3974     HTMLMetaElement_scheme_Set(this._parent, scheme);
3975   }
3976   auto scheme()() {
3977     return HTMLMetaElement_scheme_Get(this._parent);
3978   }
3979 }
3980 struct HTMLMeterElement {
3981   nothrow:
3982   spasm.bindings.html.HTMLElement _parent;
3983   alias _parent this;
3984   this(Handle h) {
3985     _parent = .HTMLElement(h);
3986   }
3987   void value()(double value) {
3988     HTMLMeterElement_value_Set(this._parent, value);
3989   }
3990   auto value()() {
3991     return HTMLMeterElement_value_Get(this._parent);
3992   }
3993   void min()(double min) {
3994     HTMLMeterElement_min_Set(this._parent, min);
3995   }
3996   auto min()() {
3997     return HTMLMeterElement_min_Get(this._parent);
3998   }
3999   void max()(double max) {
4000     HTMLMeterElement_max_Set(this._parent, max);
4001   }
4002   auto max()() {
4003     return HTMLMeterElement_max_Get(this._parent);
4004   }
4005   void low()(double low) {
4006     HTMLMeterElement_low_Set(this._parent, low);
4007   }
4008   auto low()() {
4009     return HTMLMeterElement_low_Get(this._parent);
4010   }
4011   void high()(double high) {
4012     HTMLMeterElement_high_Set(this._parent, high);
4013   }
4014   auto high()() {
4015     return HTMLMeterElement_high_Get(this._parent);
4016   }
4017   void optimum()(double optimum) {
4018     HTMLMeterElement_optimum_Set(this._parent, optimum);
4019   }
4020   auto optimum()() {
4021     return HTMLMeterElement_optimum_Get(this._parent);
4022   }
4023   auto labels()() {
4024     return NodeList(HTMLMeterElement_labels_Get(this._parent));
4025   }
4026 }
4027 struct HTMLModElement {
4028   nothrow:
4029   spasm.bindings.html.HTMLElement _parent;
4030   alias _parent this;
4031   this(Handle h) {
4032     _parent = .HTMLElement(h);
4033   }
4034   void cite()(string cite) {
4035     HTMLModElement_cite_Set(this._parent, cite);
4036   }
4037   auto cite()() {
4038     return HTMLModElement_cite_Get(this._parent);
4039   }
4040   void dateTime()(string dateTime) {
4041     HTMLModElement_dateTime_Set(this._parent, dateTime);
4042   }
4043   auto dateTime()() {
4044     return HTMLModElement_dateTime_Get(this._parent);
4045   }
4046 }
4047 struct HTMLOListElement {
4048   nothrow:
4049   spasm.bindings.html.HTMLElement _parent;
4050   alias _parent this;
4051   this(Handle h) {
4052     _parent = .HTMLElement(h);
4053   }
4054   void reversed()(bool reversed) {
4055     HTMLOListElement_reversed_Set(this._parent, reversed);
4056   }
4057   auto reversed()() {
4058     return HTMLOListElement_reversed_Get(this._parent);
4059   }
4060   void start()(int start) {
4061     HTMLOListElement_start_Set(this._parent, start);
4062   }
4063   auto start()() {
4064     return HTMLOListElement_start_Get(this._parent);
4065   }
4066   void type()(string type) {
4067     HTMLOListElement_type_Set(this._parent, type);
4068   }
4069   auto type()() {
4070     return HTMLOListElement_type_Get(this._parent);
4071   }
4072   void compact()(bool compact) {
4073     HTMLOListElement_compact_Set(this._parent, compact);
4074   }
4075   auto compact()() {
4076     return HTMLOListElement_compact_Get(this._parent);
4077   }
4078 }
4079 struct HTMLObjectElement {
4080   nothrow:
4081   spasm.bindings.html.HTMLElement _parent;
4082   alias _parent this;
4083   this(Handle h) {
4084     _parent = .HTMLElement(h);
4085   }
4086   void data()(string data) {
4087     HTMLObjectElement_data_Set(this._parent, data);
4088   }
4089   auto data()() {
4090     return HTMLObjectElement_data_Get(this._parent);
4091   }
4092   void type()(string type) {
4093     HTMLObjectElement_type_Set(this._parent, type);
4094   }
4095   auto type()() {
4096     return HTMLObjectElement_type_Get(this._parent);
4097   }
4098   void typeMustMatch()(bool typeMustMatch) {
4099     HTMLObjectElement_typeMustMatch_Set(this._parent, typeMustMatch);
4100   }
4101   auto typeMustMatch()() {
4102     return HTMLObjectElement_typeMustMatch_Get(this._parent);
4103   }
4104   void name()(string name) {
4105     HTMLObjectElement_name_Set(this._parent, name);
4106   }
4107   auto name()() {
4108     return HTMLObjectElement_name_Get(this._parent);
4109   }
4110   void useMap()(string useMap) {
4111     HTMLObjectElement_useMap_Set(this._parent, useMap);
4112   }
4113   auto useMap()() {
4114     return HTMLObjectElement_useMap_Get(this._parent);
4115   }
4116   auto form()() {
4117     return HTMLObjectElement_form_Get(this._parent);
4118   }
4119   void width()(string width) {
4120     HTMLObjectElement_width_Set(this._parent, width);
4121   }
4122   auto width()() {
4123     return HTMLObjectElement_width_Get(this._parent);
4124   }
4125   void height()(string height) {
4126     HTMLObjectElement_height_Set(this._parent, height);
4127   }
4128   auto height()() {
4129     return HTMLObjectElement_height_Get(this._parent);
4130   }
4131   auto contentDocument()() {
4132     return HTMLObjectElement_contentDocument_Get(this._parent);
4133   }
4134   auto contentWindow()() {
4135     return HTMLObjectElement_contentWindow_Get(this._parent);
4136   }
4137   auto getSVGDocument()() {
4138     return HTMLObjectElement_getSVGDocument(this._parent);
4139   }
4140   auto willValidate()() {
4141     return HTMLObjectElement_willValidate_Get(this._parent);
4142   }
4143   auto validity()() {
4144     return ValidityState(HTMLObjectElement_validity_Get(this._parent));
4145   }
4146   auto validationMessage()() {
4147     return HTMLObjectElement_validationMessage_Get(this._parent);
4148   }
4149   auto checkValidity()() {
4150     return HTMLObjectElement_checkValidity(this._parent);
4151   }
4152   auto reportValidity()() {
4153     return HTMLObjectElement_reportValidity(this._parent);
4154   }
4155   void setCustomValidity()(string error) {
4156     HTMLObjectElement_setCustomValidity(this._parent, error);
4157   }
4158   void align_()(string align_) {
4159     HTMLObjectElement_align_Set(this._parent, align_);
4160   }
4161   auto align_()() {
4162     return HTMLObjectElement_align_Get(this._parent);
4163   }
4164   void archive()(string archive) {
4165     HTMLObjectElement_archive_Set(this._parent, archive);
4166   }
4167   auto archive()() {
4168     return HTMLObjectElement_archive_Get(this._parent);
4169   }
4170   void code()(string code) {
4171     HTMLObjectElement_code_Set(this._parent, code);
4172   }
4173   auto code()() {
4174     return HTMLObjectElement_code_Get(this._parent);
4175   }
4176   void declare()(bool declare) {
4177     HTMLObjectElement_declare_Set(this._parent, declare);
4178   }
4179   auto declare()() {
4180     return HTMLObjectElement_declare_Get(this._parent);
4181   }
4182   void hspace()(uint hspace) {
4183     HTMLObjectElement_hspace_Set(this._parent, hspace);
4184   }
4185   auto hspace()() {
4186     return HTMLObjectElement_hspace_Get(this._parent);
4187   }
4188   void standby()(string standby) {
4189     HTMLObjectElement_standby_Set(this._parent, standby);
4190   }
4191   auto standby()() {
4192     return HTMLObjectElement_standby_Get(this._parent);
4193   }
4194   void vspace()(uint vspace) {
4195     HTMLObjectElement_vspace_Set(this._parent, vspace);
4196   }
4197   auto vspace()() {
4198     return HTMLObjectElement_vspace_Get(this._parent);
4199   }
4200   void codeBase()(string codeBase) {
4201     HTMLObjectElement_codeBase_Set(this._parent, codeBase);
4202   }
4203   auto codeBase()() {
4204     return HTMLObjectElement_codeBase_Get(this._parent);
4205   }
4206   void codeType()(string codeType) {
4207     HTMLObjectElement_codeType_Set(this._parent, codeType);
4208   }
4209   auto codeType()() {
4210     return HTMLObjectElement_codeType_Get(this._parent);
4211   }
4212   void border()(string border) {
4213     HTMLObjectElement_border_Set(this._parent, border);
4214   }
4215   auto border()() {
4216     return HTMLObjectElement_border_Get(this._parent);
4217   }
4218 }
4219 struct HTMLOptGroupElement {
4220   nothrow:
4221   spasm.bindings.html.HTMLElement _parent;
4222   alias _parent this;
4223   this(Handle h) {
4224     _parent = .HTMLElement(h);
4225   }
4226   void disabled()(bool disabled) {
4227     HTMLOptGroupElement_disabled_Set(this._parent, disabled);
4228   }
4229   auto disabled()() {
4230     return HTMLOptGroupElement_disabled_Get(this._parent);
4231   }
4232   void label()(string label) {
4233     HTMLOptGroupElement_label_Set(this._parent, label);
4234   }
4235   auto label()() {
4236     return HTMLOptGroupElement_label_Get(this._parent);
4237   }
4238 }
4239 struct HTMLOptionElement {
4240   nothrow:
4241   spasm.bindings.html.HTMLElement _parent;
4242   alias _parent this;
4243   this(Handle h) {
4244     _parent = .HTMLElement(h);
4245   }
4246   void disabled()(bool disabled) {
4247     HTMLOptionElement_disabled_Set(this._parent, disabled);
4248   }
4249   auto disabled()() {
4250     return HTMLOptionElement_disabled_Get(this._parent);
4251   }
4252   auto form()() {
4253     return HTMLOptionElement_form_Get(this._parent);
4254   }
4255   void label()(string label) {
4256     HTMLOptionElement_label_Set(this._parent, label);
4257   }
4258   auto label()() {
4259     return HTMLOptionElement_label_Get(this._parent);
4260   }
4261   void defaultSelected()(bool defaultSelected) {
4262     HTMLOptionElement_defaultSelected_Set(this._parent, defaultSelected);
4263   }
4264   auto defaultSelected()() {
4265     return HTMLOptionElement_defaultSelected_Get(this._parent);
4266   }
4267   void selected()(bool selected) {
4268     HTMLOptionElement_selected_Set(this._parent, selected);
4269   }
4270   auto selected()() {
4271     return HTMLOptionElement_selected_Get(this._parent);
4272   }
4273   void value()(string value) {
4274     HTMLOptionElement_value_Set(this._parent, value);
4275   }
4276   auto value()() {
4277     return HTMLOptionElement_value_Get(this._parent);
4278   }
4279   void text()(string text) {
4280     HTMLOptionElement_text_Set(this._parent, text);
4281   }
4282   auto text()() {
4283     return HTMLOptionElement_text_Get(this._parent);
4284   }
4285   auto index()() {
4286     return HTMLOptionElement_index_Get(this._parent);
4287   }
4288 }
4289 struct HTMLOptionsCollection {
4290   nothrow:
4291   spasm.bindings.dom.HTMLCollection _parent;
4292   alias _parent this;
4293   this(Handle h) {
4294     _parent = .HTMLCollection(h);
4295   }
4296   void length()(uint length) {
4297     HTMLOptionsCollection_length_Set(this._parent, length);
4298   }
4299   auto length()() {
4300     return HTMLOptionsCollection_length_Get(this._parent);
4301   }
4302   void opIndexAssign(T1)(scope auto ref Optional!(T0) option, uint index) if (isTOrPointer!(T1, HTMLOptionElement)) {
4303     HTMLOptionsCollection_setter__uint_optional_Handle(this._parent, index, !option.empty, option.front._parent);
4304   }
4305   void opDispatch(uint index)(scope auto ref Optional!(T0) option) if (isTOrPointer!(T1, HTMLOptionElement)) {
4306     HTMLOptionsCollection_setter__uint_optional_Handle(this._parent, index, !option.empty, option.front._parent);
4307   }
4308   void add(T1)(scope ref SumType!(HTMLOptionElement, HTMLOptGroupElement) element, scope auto ref Optional!(T1) before /* = no!(SumType!(HTMLElement, int)) */) if (isTOrPointer!(T1, SumType!(HTMLElement, int))) {
4309     HTMLOptionsCollection_add(this._parent, element, !before.empty, *before.frontRef);
4310   }
4311   void add()(scope ref SumType!(HTMLOptionElement, HTMLOptGroupElement) element) {
4312     HTMLOptionsCollection_add_0(this._parent, element);
4313   }
4314   void remove()(int index) {
4315     HTMLOptionsCollection_remove(this._parent, index);
4316   }
4317   void selectedIndex()(int selectedIndex) {
4318     HTMLOptionsCollection_selectedIndex_Set(this._parent, selectedIndex);
4319   }
4320   auto selectedIndex()() {
4321     return HTMLOptionsCollection_selectedIndex_Get(this._parent);
4322   }
4323 }
4324 alias HTMLOrSVGImageElement = SumType!(HTMLImageElement, SVGImageElement);
4325 alias HTMLOrSVGScriptElement = SumType!(HTMLScriptElement, SVGScriptElement);
4326 struct HTMLOutputElement {
4327   nothrow:
4328   spasm.bindings.html.HTMLElement _parent;
4329   alias _parent this;
4330   this(Handle h) {
4331     _parent = .HTMLElement(h);
4332   }
4333   auto htmlFor()() {
4334     return DOMTokenList(HTMLOutputElement_htmlFor_Get(this._parent));
4335   }
4336   auto form()() {
4337     return HTMLOutputElement_form_Get(this._parent);
4338   }
4339   void name()(string name) {
4340     HTMLOutputElement_name_Set(this._parent, name);
4341   }
4342   auto name()() {
4343     return HTMLOutputElement_name_Get(this._parent);
4344   }
4345   auto type()() {
4346     return HTMLOutputElement_type_Get(this._parent);
4347   }
4348   void defaultValue()(string defaultValue) {
4349     HTMLOutputElement_defaultValue_Set(this._parent, defaultValue);
4350   }
4351   auto defaultValue()() {
4352     return HTMLOutputElement_defaultValue_Get(this._parent);
4353   }
4354   void value()(string value) {
4355     HTMLOutputElement_value_Set(this._parent, value);
4356   }
4357   auto value()() {
4358     return HTMLOutputElement_value_Get(this._parent);
4359   }
4360   auto willValidate()() {
4361     return HTMLOutputElement_willValidate_Get(this._parent);
4362   }
4363   auto validity()() {
4364     return ValidityState(HTMLOutputElement_validity_Get(this._parent));
4365   }
4366   auto validationMessage()() {
4367     return HTMLOutputElement_validationMessage_Get(this._parent);
4368   }
4369   auto checkValidity()() {
4370     return HTMLOutputElement_checkValidity(this._parent);
4371   }
4372   auto reportValidity()() {
4373     return HTMLOutputElement_reportValidity(this._parent);
4374   }
4375   void setCustomValidity()(string error) {
4376     HTMLOutputElement_setCustomValidity(this._parent, error);
4377   }
4378   auto labels()() {
4379     return NodeList(HTMLOutputElement_labels_Get(this._parent));
4380   }
4381 }
4382 struct HTMLParagraphElement {
4383   nothrow:
4384   spasm.bindings.html.HTMLElement _parent;
4385   alias _parent this;
4386   this(Handle h) {
4387     _parent = .HTMLElement(h);
4388   }
4389   void align_()(string align_) {
4390     HTMLParagraphElement_align_Set(this._parent, align_);
4391   }
4392   auto align_()() {
4393     return HTMLParagraphElement_align_Get(this._parent);
4394   }
4395 }
4396 struct HTMLParamElement {
4397   nothrow:
4398   spasm.bindings.html.HTMLElement _parent;
4399   alias _parent this;
4400   this(Handle h) {
4401     _parent = .HTMLElement(h);
4402   }
4403   void name()(string name) {
4404     HTMLParamElement_name_Set(this._parent, name);
4405   }
4406   auto name()() {
4407     return HTMLParamElement_name_Get(this._parent);
4408   }
4409   void value()(string value) {
4410     HTMLParamElement_value_Set(this._parent, value);
4411   }
4412   auto value()() {
4413     return HTMLParamElement_value_Get(this._parent);
4414   }
4415   void type()(string type) {
4416     HTMLParamElement_type_Set(this._parent, type);
4417   }
4418   auto type()() {
4419     return HTMLParamElement_type_Get(this._parent);
4420   }
4421   void valueType()(string valueType) {
4422     HTMLParamElement_valueType_Set(this._parent, valueType);
4423   }
4424   auto valueType()() {
4425     return HTMLParamElement_valueType_Get(this._parent);
4426   }
4427 }
4428 struct HTMLPictureElement {
4429   nothrow:
4430   spasm.bindings.html.HTMLElement _parent;
4431   alias _parent this;
4432   this(Handle h) {
4433     _parent = .HTMLElement(h);
4434   }
4435 }
4436 struct HTMLPreElement {
4437   nothrow:
4438   spasm.bindings.html.HTMLElement _parent;
4439   alias _parent this;
4440   this(Handle h) {
4441     _parent = .HTMLElement(h);
4442   }
4443   void width()(int width) {
4444     HTMLPreElement_width_Set(this._parent, width);
4445   }
4446   auto width()() {
4447     return HTMLPreElement_width_Get(this._parent);
4448   }
4449 }
4450 struct HTMLProgressElement {
4451   nothrow:
4452   spasm.bindings.html.HTMLElement _parent;
4453   alias _parent this;
4454   this(Handle h) {
4455     _parent = .HTMLElement(h);
4456   }
4457   void value()(double value) {
4458     HTMLProgressElement_value_Set(this._parent, value);
4459   }
4460   auto value()() {
4461     return HTMLProgressElement_value_Get(this._parent);
4462   }
4463   void max()(double max) {
4464     HTMLProgressElement_max_Set(this._parent, max);
4465   }
4466   auto max()() {
4467     return HTMLProgressElement_max_Get(this._parent);
4468   }
4469   auto position()() {
4470     return HTMLProgressElement_position_Get(this._parent);
4471   }
4472   auto labels()() {
4473     return NodeList(HTMLProgressElement_labels_Get(this._parent));
4474   }
4475 }
4476 struct HTMLQuoteElement {
4477   nothrow:
4478   spasm.bindings.html.HTMLElement _parent;
4479   alias _parent this;
4480   this(Handle h) {
4481     _parent = .HTMLElement(h);
4482   }
4483   void cite()(string cite) {
4484     HTMLQuoteElement_cite_Set(this._parent, cite);
4485   }
4486   auto cite()() {
4487     return HTMLQuoteElement_cite_Get(this._parent);
4488   }
4489 }
4490 struct HTMLScriptElement {
4491   nothrow:
4492   spasm.bindings.html.HTMLElement _parent;
4493   alias _parent this;
4494   this(Handle h) {
4495     _parent = .HTMLElement(h);
4496   }
4497   void src()(string src) {
4498     HTMLScriptElement_src_Set(this._parent, src);
4499   }
4500   auto src()() {
4501     return HTMLScriptElement_src_Get(this._parent);
4502   }
4503   void type()(string type) {
4504     HTMLScriptElement_type_Set(this._parent, type);
4505   }
4506   auto type()() {
4507     return HTMLScriptElement_type_Get(this._parent);
4508   }
4509   void noModule()(bool noModule) {
4510     HTMLScriptElement_noModule_Set(this._parent, noModule);
4511   }
4512   auto noModule()() {
4513     return HTMLScriptElement_noModule_Get(this._parent);
4514   }
4515   void async()(bool async) {
4516     HTMLScriptElement_async_Set(this._parent, async);
4517   }
4518   auto async()() {
4519     return HTMLScriptElement_async_Get(this._parent);
4520   }
4521   void defer()(bool defer) {
4522     HTMLScriptElement_defer_Set(this._parent, defer);
4523   }
4524   auto defer()() {
4525     return HTMLScriptElement_defer_Get(this._parent);
4526   }
4527   void crossOrigin(T0)(scope auto ref Optional!(T0) crossOrigin) if (isTOrPointer!(T0, string)) {
4528     HTMLScriptElement_crossOrigin_Set(this._parent, !crossOrigin.empty, crossOrigin.front);
4529   }
4530   auto crossOrigin()() {
4531     return HTMLScriptElement_crossOrigin_Get(this._parent);
4532   }
4533   void text()(string text) {
4534     HTMLScriptElement_text_Set(this._parent, text);
4535   }
4536   auto text()() {
4537     return HTMLScriptElement_text_Get(this._parent);
4538   }
4539   void integrity()(string integrity) {
4540     HTMLScriptElement_integrity_Set(this._parent, integrity);
4541   }
4542   auto integrity()() {
4543     return HTMLScriptElement_integrity_Get(this._parent);
4544   }
4545   void referrerPolicy()(string referrerPolicy) {
4546     HTMLScriptElement_referrerPolicy_Set(this._parent, referrerPolicy);
4547   }
4548   auto referrerPolicy()() {
4549     return HTMLScriptElement_referrerPolicy_Get(this._parent);
4550   }
4551   void charset()(string charset) {
4552     HTMLScriptElement_charset_Set(this._parent, charset);
4553   }
4554   auto charset()() {
4555     return HTMLScriptElement_charset_Get(this._parent);
4556   }
4557   void event()(string event) {
4558     HTMLScriptElement_event_Set(this._parent, event);
4559   }
4560   auto event()() {
4561     return HTMLScriptElement_event_Get(this._parent);
4562   }
4563   void htmlFor()(string htmlFor) {
4564     HTMLScriptElement_htmlFor_Set(this._parent, htmlFor);
4565   }
4566   auto htmlFor()() {
4567     return HTMLScriptElement_htmlFor_Get(this._parent);
4568   }
4569 }
4570 struct HTMLSelectElement {
4571   nothrow:
4572   spasm.bindings.html.HTMLElement _parent;
4573   alias _parent this;
4574   this(Handle h) {
4575     _parent = .HTMLElement(h);
4576   }
4577   void autocomplete()(string autocomplete) {
4578     HTMLSelectElement_autocomplete_Set(this._parent, autocomplete);
4579   }
4580   auto autocomplete()() {
4581     return HTMLSelectElement_autocomplete_Get(this._parent);
4582   }
4583   void autofocus()(bool autofocus) {
4584     HTMLSelectElement_autofocus_Set(this._parent, autofocus);
4585   }
4586   auto autofocus()() {
4587     return HTMLSelectElement_autofocus_Get(this._parent);
4588   }
4589   void disabled()(bool disabled) {
4590     HTMLSelectElement_disabled_Set(this._parent, disabled);
4591   }
4592   auto disabled()() {
4593     return HTMLSelectElement_disabled_Get(this._parent);
4594   }
4595   auto form()() {
4596     return HTMLSelectElement_form_Get(this._parent);
4597   }
4598   void multiple()(bool multiple) {
4599     HTMLSelectElement_multiple_Set(this._parent, multiple);
4600   }
4601   auto multiple()() {
4602     return HTMLSelectElement_multiple_Get(this._parent);
4603   }
4604   void name()(string name) {
4605     HTMLSelectElement_name_Set(this._parent, name);
4606   }
4607   auto name()() {
4608     return HTMLSelectElement_name_Get(this._parent);
4609   }
4610   void required()(bool required) {
4611     HTMLSelectElement_required_Set(this._parent, required);
4612   }
4613   auto required()() {
4614     return HTMLSelectElement_required_Get(this._parent);
4615   }
4616   void size()(uint size) {
4617     HTMLSelectElement_size_Set(this._parent, size);
4618   }
4619   auto size()() {
4620     return HTMLSelectElement_size_Get(this._parent);
4621   }
4622   auto type()() {
4623     return HTMLSelectElement_type_Get(this._parent);
4624   }
4625   auto options()() {
4626     return HTMLOptionsCollection(HTMLSelectElement_options_Get(this._parent));
4627   }
4628   void length()(uint length) {
4629     HTMLSelectElement_length_Set(this._parent, length);
4630   }
4631   auto length()() {
4632     return HTMLSelectElement_length_Get(this._parent);
4633   }
4634   auto item()(uint index) {
4635     return HTMLSelectElement_item_getter(this._parent, index);
4636   }
4637   auto namedItem()(string name) {
4638     return HTMLSelectElement_namedItem(this._parent, name);
4639   }
4640   void add(T1)(scope ref SumType!(HTMLOptionElement, HTMLOptGroupElement) element, scope auto ref Optional!(T1) before /* = no!(SumType!(HTMLElement, int)) */) if (isTOrPointer!(T1, SumType!(HTMLElement, int))) {
4641     HTMLSelectElement_add(this._parent, element, !before.empty, *before.frontRef);
4642   }
4643   void add()(scope ref SumType!(HTMLOptionElement, HTMLOptGroupElement) element) {
4644     HTMLSelectElement_add_0(this._parent, element);
4645   }
4646   void remove()() {
4647     HTMLSelectElement_remove__(this._parent);
4648   }
4649   void remove()(int index) {
4650     HTMLSelectElement_remove__int(this._parent, index);
4651   }
4652   void opIndexAssign(T1)(scope auto ref Optional!(T0) option, uint index) if (isTOrPointer!(T1, HTMLOptionElement)) {
4653     HTMLSelectElement_setter__uint_optional_Handle(this._parent, index, !option.empty, option.front._parent);
4654   }
4655   void opDispatch(uint index)(scope auto ref Optional!(T0) option) if (isTOrPointer!(T1, HTMLOptionElement)) {
4656     HTMLSelectElement_setter__uint_optional_Handle(this._parent, index, !option.empty, option.front._parent);
4657   }
4658   auto selectedOptions()() {
4659     return HTMLCollection(HTMLSelectElement_selectedOptions_Get(this._parent));
4660   }
4661   void selectedIndex()(int selectedIndex) {
4662     HTMLSelectElement_selectedIndex_Set(this._parent, selectedIndex);
4663   }
4664   auto selectedIndex()() {
4665     return HTMLSelectElement_selectedIndex_Get(this._parent);
4666   }
4667   void value()(string value) {
4668     HTMLSelectElement_value_Set(this._parent, value);
4669   }
4670   auto value()() {
4671     return HTMLSelectElement_value_Get(this._parent);
4672   }
4673   auto willValidate()() {
4674     return HTMLSelectElement_willValidate_Get(this._parent);
4675   }
4676   auto validity()() {
4677     return ValidityState(HTMLSelectElement_validity_Get(this._parent));
4678   }
4679   auto validationMessage()() {
4680     return HTMLSelectElement_validationMessage_Get(this._parent);
4681   }
4682   auto checkValidity()() {
4683     return HTMLSelectElement_checkValidity(this._parent);
4684   }
4685   auto reportValidity()() {
4686     return HTMLSelectElement_reportValidity(this._parent);
4687   }
4688   void setCustomValidity()(string error) {
4689     HTMLSelectElement_setCustomValidity(this._parent, error);
4690   }
4691   auto labels()() {
4692     return NodeList(HTMLSelectElement_labels_Get(this._parent));
4693   }
4694 }
4695 struct HTMLSlotElement {
4696   nothrow:
4697   spasm.bindings.html.HTMLElement _parent;
4698   alias _parent this;
4699   this(Handle h) {
4700     _parent = .HTMLElement(h);
4701   }
4702   void name()(string name) {
4703     HTMLSlotElement_name_Set(this._parent, name);
4704   }
4705   auto name()() {
4706     return HTMLSlotElement_name_Get(this._parent);
4707   }
4708   auto assignedNodes()(scope ref AssignedNodesOptions options) {
4709     return Sequence!(Node)(HTMLSlotElement_assignedNodes(this._parent, options.handle));
4710   }
4711   auto assignedNodes()() {
4712     return Sequence!(Node)(HTMLSlotElement_assignedNodes_0(this._parent));
4713   }
4714   auto assignedElements()(scope ref AssignedNodesOptions options) {
4715     return Sequence!(Element)(HTMLSlotElement_assignedElements(this._parent, options.handle));
4716   }
4717   auto assignedElements()() {
4718     return Sequence!(Element)(HTMLSlotElement_assignedElements_0(this._parent));
4719   }
4720 }
4721 struct HTMLSourceElement {
4722   nothrow:
4723   spasm.bindings.html.HTMLElement _parent;
4724   alias _parent this;
4725   this(Handle h) {
4726     _parent = .HTMLElement(h);
4727   }
4728   void src()(string src) {
4729     HTMLSourceElement_src_Set(this._parent, src);
4730   }
4731   auto src()() {
4732     return HTMLSourceElement_src_Get(this._parent);
4733   }
4734   void type()(string type) {
4735     HTMLSourceElement_type_Set(this._parent, type);
4736   }
4737   auto type()() {
4738     return HTMLSourceElement_type_Get(this._parent);
4739   }
4740   void srcset()(string srcset) {
4741     HTMLSourceElement_srcset_Set(this._parent, srcset);
4742   }
4743   auto srcset()() {
4744     return HTMLSourceElement_srcset_Get(this._parent);
4745   }
4746   void sizes()(string sizes) {
4747     HTMLSourceElement_sizes_Set(this._parent, sizes);
4748   }
4749   auto sizes()() {
4750     return HTMLSourceElement_sizes_Get(this._parent);
4751   }
4752   void media()(string media) {
4753     HTMLSourceElement_media_Set(this._parent, media);
4754   }
4755   auto media()() {
4756     return HTMLSourceElement_media_Get(this._parent);
4757   }
4758 }
4759 struct HTMLSpanElement {
4760   nothrow:
4761   spasm.bindings.html.HTMLElement _parent;
4762   alias _parent this;
4763   this(Handle h) {
4764     _parent = .HTMLElement(h);
4765   }
4766 }
4767 struct HTMLStyleElement {
4768   nothrow:
4769   spasm.bindings.html.HTMLElement _parent;
4770   alias _parent this;
4771   this(Handle h) {
4772     _parent = .HTMLElement(h);
4773   }
4774   void media()(string media) {
4775     HTMLStyleElement_media_Set(this._parent, media);
4776   }
4777   auto media()() {
4778     return HTMLStyleElement_media_Get(this._parent);
4779   }
4780   void type()(string type) {
4781     HTMLStyleElement_type_Set(this._parent, type);
4782   }
4783   auto type()() {
4784     return HTMLStyleElement_type_Get(this._parent);
4785   }
4786 }
4787 struct HTMLTableCaptionElement {
4788   nothrow:
4789   spasm.bindings.html.HTMLElement _parent;
4790   alias _parent this;
4791   this(Handle h) {
4792     _parent = .HTMLElement(h);
4793   }
4794   void align_()(string align_) {
4795     HTMLTableCaptionElement_align_Set(this._parent, align_);
4796   }
4797   auto align_()() {
4798     return HTMLTableCaptionElement_align_Get(this._parent);
4799   }
4800 }
4801 struct HTMLTableCellElement {
4802   nothrow:
4803   spasm.bindings.html.HTMLElement _parent;
4804   alias _parent this;
4805   this(Handle h) {
4806     _parent = .HTMLElement(h);
4807   }
4808   void colSpan()(uint colSpan) {
4809     HTMLTableCellElement_colSpan_Set(this._parent, colSpan);
4810   }
4811   auto colSpan()() {
4812     return HTMLTableCellElement_colSpan_Get(this._parent);
4813   }
4814   void rowSpan()(uint rowSpan) {
4815     HTMLTableCellElement_rowSpan_Set(this._parent, rowSpan);
4816   }
4817   auto rowSpan()() {
4818     return HTMLTableCellElement_rowSpan_Get(this._parent);
4819   }
4820   void headers()(string headers) {
4821     HTMLTableCellElement_headers_Set(this._parent, headers);
4822   }
4823   auto headers()() {
4824     return HTMLTableCellElement_headers_Get(this._parent);
4825   }
4826   auto cellIndex()() {
4827     return HTMLTableCellElement_cellIndex_Get(this._parent);
4828   }
4829   void scope_()(string scope_) {
4830     HTMLTableCellElement_scope_Set(this._parent, scope_);
4831   }
4832   auto scope_()() {
4833     return HTMLTableCellElement_scope_Get(this._parent);
4834   }
4835   void abbr()(string abbr) {
4836     HTMLTableCellElement_abbr_Set(this._parent, abbr);
4837   }
4838   auto abbr()() {
4839     return HTMLTableCellElement_abbr_Get(this._parent);
4840   }
4841   void align_()(string align_) {
4842     HTMLTableCellElement_align_Set(this._parent, align_);
4843   }
4844   auto align_()() {
4845     return HTMLTableCellElement_align_Get(this._parent);
4846   }
4847   void axis()(string axis) {
4848     HTMLTableCellElement_axis_Set(this._parent, axis);
4849   }
4850   auto axis()() {
4851     return HTMLTableCellElement_axis_Get(this._parent);
4852   }
4853   void height()(string height) {
4854     HTMLTableCellElement_height_Set(this._parent, height);
4855   }
4856   auto height()() {
4857     return HTMLTableCellElement_height_Get(this._parent);
4858   }
4859   void width()(string width) {
4860     HTMLTableCellElement_width_Set(this._parent, width);
4861   }
4862   auto width()() {
4863     return HTMLTableCellElement_width_Get(this._parent);
4864   }
4865   void ch()(string ch) {
4866     HTMLTableCellElement_ch_Set(this._parent, ch);
4867   }
4868   auto ch()() {
4869     return HTMLTableCellElement_ch_Get(this._parent);
4870   }
4871   void chOff()(string chOff) {
4872     HTMLTableCellElement_chOff_Set(this._parent, chOff);
4873   }
4874   auto chOff()() {
4875     return HTMLTableCellElement_chOff_Get(this._parent);
4876   }
4877   void noWrap()(bool noWrap) {
4878     HTMLTableCellElement_noWrap_Set(this._parent, noWrap);
4879   }
4880   auto noWrap()() {
4881     return HTMLTableCellElement_noWrap_Get(this._parent);
4882   }
4883   void vAlign()(string vAlign) {
4884     HTMLTableCellElement_vAlign_Set(this._parent, vAlign);
4885   }
4886   auto vAlign()() {
4887     return HTMLTableCellElement_vAlign_Get(this._parent);
4888   }
4889   void bgColor()(string bgColor) {
4890     HTMLTableCellElement_bgColor_Set(this._parent, bgColor);
4891   }
4892   auto bgColor()() {
4893     return HTMLTableCellElement_bgColor_Get(this._parent);
4894   }
4895 }
4896 struct HTMLTableColElement {
4897   nothrow:
4898   spasm.bindings.html.HTMLElement _parent;
4899   alias _parent this;
4900   this(Handle h) {
4901     _parent = .HTMLElement(h);
4902   }
4903   void span()(uint span) {
4904     HTMLTableColElement_span_Set(this._parent, span);
4905   }
4906   auto span()() {
4907     return HTMLTableColElement_span_Get(this._parent);
4908   }
4909   void align_()(string align_) {
4910     HTMLTableColElement_align_Set(this._parent, align_);
4911   }
4912   auto align_()() {
4913     return HTMLTableColElement_align_Get(this._parent);
4914   }
4915   void ch()(string ch) {
4916     HTMLTableColElement_ch_Set(this._parent, ch);
4917   }
4918   auto ch()() {
4919     return HTMLTableColElement_ch_Get(this._parent);
4920   }
4921   void chOff()(string chOff) {
4922     HTMLTableColElement_chOff_Set(this._parent, chOff);
4923   }
4924   auto chOff()() {
4925     return HTMLTableColElement_chOff_Get(this._parent);
4926   }
4927   void vAlign()(string vAlign) {
4928     HTMLTableColElement_vAlign_Set(this._parent, vAlign);
4929   }
4930   auto vAlign()() {
4931     return HTMLTableColElement_vAlign_Get(this._parent);
4932   }
4933   void width()(string width) {
4934     HTMLTableColElement_width_Set(this._parent, width);
4935   }
4936   auto width()() {
4937     return HTMLTableColElement_width_Get(this._parent);
4938   }
4939 }
4940 struct HTMLTableElement {
4941   nothrow:
4942   spasm.bindings.html.HTMLElement _parent;
4943   alias _parent this;
4944   this(Handle h) {
4945     _parent = .HTMLElement(h);
4946   }
4947   void caption(T0)(scope auto ref Optional!(T0) caption) if (isTOrPointer!(T0, HTMLTableCaptionElement)) {
4948     HTMLTableElement_caption_Set(this._parent, !caption.empty, caption.front.handle);
4949   }
4950   auto caption()() {
4951     return HTMLTableElement_caption_Get(this._parent);
4952   }
4953   auto createCaption()() {
4954     return HTMLTableCaptionElement(HTMLTableElement_createCaption(this._parent));
4955   }
4956   void deleteCaption()() {
4957     HTMLTableElement_deleteCaption(this._parent);
4958   }
4959   void tHead(T0)(scope auto ref Optional!(T0) tHead) if (isTOrPointer!(T0, HTMLTableSectionElement)) {
4960     HTMLTableElement_tHead_Set(this._parent, !tHead.empty, tHead.front.handle);
4961   }
4962   auto tHead()() {
4963     return HTMLTableElement_tHead_Get(this._parent);
4964   }
4965   auto createTHead()() {
4966     return HTMLTableSectionElement(HTMLTableElement_createTHead(this._parent));
4967   }
4968   void deleteTHead()() {
4969     HTMLTableElement_deleteTHead(this._parent);
4970   }
4971   void tFoot(T0)(scope auto ref Optional!(T0) tFoot) if (isTOrPointer!(T0, HTMLTableSectionElement)) {
4972     HTMLTableElement_tFoot_Set(this._parent, !tFoot.empty, tFoot.front.handle);
4973   }
4974   auto tFoot()() {
4975     return HTMLTableElement_tFoot_Get(this._parent);
4976   }
4977   auto createTFoot()() {
4978     return HTMLTableSectionElement(HTMLTableElement_createTFoot(this._parent));
4979   }
4980   void deleteTFoot()() {
4981     HTMLTableElement_deleteTFoot(this._parent);
4982   }
4983   auto tBodies()() {
4984     return HTMLCollection(HTMLTableElement_tBodies_Get(this._parent));
4985   }
4986   auto createTBody()() {
4987     return HTMLTableSectionElement(HTMLTableElement_createTBody(this._parent));
4988   }
4989   auto rows()() {
4990     return HTMLCollection(HTMLTableElement_rows_Get(this._parent));
4991   }
4992   auto insertRow()(int index /* = -1 */) {
4993     return HTMLTableRowElement(HTMLTableElement_insertRow(this._parent, index));
4994   }
4995   auto insertRow()() {
4996     return HTMLTableRowElement(HTMLTableElement_insertRow_0(this._parent));
4997   }
4998   void deleteRow()(int index) {
4999     HTMLTableElement_deleteRow(this._parent, index);
5000   }
5001   void align_()(string align_) {
5002     HTMLTableElement_align_Set(this._parent, align_);
5003   }
5004   auto align_()() {
5005     return HTMLTableElement_align_Get(this._parent);
5006   }
5007   void border()(string border) {
5008     HTMLTableElement_border_Set(this._parent, border);
5009   }
5010   auto border()() {
5011     return HTMLTableElement_border_Get(this._parent);
5012   }
5013   void frame()(string frame) {
5014     HTMLTableElement_frame_Set(this._parent, frame);
5015   }
5016   auto frame()() {
5017     return HTMLTableElement_frame_Get(this._parent);
5018   }
5019   void rules()(string rules) {
5020     HTMLTableElement_rules_Set(this._parent, rules);
5021   }
5022   auto rules()() {
5023     return HTMLTableElement_rules_Get(this._parent);
5024   }
5025   void summary()(string summary) {
5026     HTMLTableElement_summary_Set(this._parent, summary);
5027   }
5028   auto summary()() {
5029     return HTMLTableElement_summary_Get(this._parent);
5030   }
5031   void width()(string width) {
5032     HTMLTableElement_width_Set(this._parent, width);
5033   }
5034   auto width()() {
5035     return HTMLTableElement_width_Get(this._parent);
5036   }
5037   void bgColor()(string bgColor) {
5038     HTMLTableElement_bgColor_Set(this._parent, bgColor);
5039   }
5040   auto bgColor()() {
5041     return HTMLTableElement_bgColor_Get(this._parent);
5042   }
5043   void cellPadding()(string cellPadding) {
5044     HTMLTableElement_cellPadding_Set(this._parent, cellPadding);
5045   }
5046   auto cellPadding()() {
5047     return HTMLTableElement_cellPadding_Get(this._parent);
5048   }
5049   void cellSpacing()(string cellSpacing) {
5050     HTMLTableElement_cellSpacing_Set(this._parent, cellSpacing);
5051   }
5052   auto cellSpacing()() {
5053     return HTMLTableElement_cellSpacing_Get(this._parent);
5054   }
5055 }
5056 struct HTMLTableRowElement {
5057   nothrow:
5058   spasm.bindings.html.HTMLElement _parent;
5059   alias _parent this;
5060   this(Handle h) {
5061     _parent = .HTMLElement(h);
5062   }
5063   auto rowIndex()() {
5064     return HTMLTableRowElement_rowIndex_Get(this._parent);
5065   }
5066   auto sectionRowIndex()() {
5067     return HTMLTableRowElement_sectionRowIndex_Get(this._parent);
5068   }
5069   auto cells()() {
5070     return HTMLCollection(HTMLTableRowElement_cells_Get(this._parent));
5071   }
5072   auto insertCell()(int index /* = -1 */) {
5073     return HTMLTableCellElement(HTMLTableRowElement_insertCell(this._parent, index));
5074   }
5075   auto insertCell()() {
5076     return HTMLTableCellElement(HTMLTableRowElement_insertCell_0(this._parent));
5077   }
5078   void deleteCell()(int index) {
5079     HTMLTableRowElement_deleteCell(this._parent, index);
5080   }
5081   void align_()(string align_) {
5082     HTMLTableRowElement_align_Set(this._parent, align_);
5083   }
5084   auto align_()() {
5085     return HTMLTableRowElement_align_Get(this._parent);
5086   }
5087   void ch()(string ch) {
5088     HTMLTableRowElement_ch_Set(this._parent, ch);
5089   }
5090   auto ch()() {
5091     return HTMLTableRowElement_ch_Get(this._parent);
5092   }
5093   void chOff()(string chOff) {
5094     HTMLTableRowElement_chOff_Set(this._parent, chOff);
5095   }
5096   auto chOff()() {
5097     return HTMLTableRowElement_chOff_Get(this._parent);
5098   }
5099   void vAlign()(string vAlign) {
5100     HTMLTableRowElement_vAlign_Set(this._parent, vAlign);
5101   }
5102   auto vAlign()() {
5103     return HTMLTableRowElement_vAlign_Get(this._parent);
5104   }
5105   void bgColor()(string bgColor) {
5106     HTMLTableRowElement_bgColor_Set(this._parent, bgColor);
5107   }
5108   auto bgColor()() {
5109     return HTMLTableRowElement_bgColor_Get(this._parent);
5110   }
5111 }
5112 struct HTMLTableSectionElement {
5113   nothrow:
5114   spasm.bindings.html.HTMLElement _parent;
5115   alias _parent this;
5116   this(Handle h) {
5117     _parent = .HTMLElement(h);
5118   }
5119   auto rows()() {
5120     return HTMLCollection(HTMLTableSectionElement_rows_Get(this._parent));
5121   }
5122   auto insertRow()(int index /* = -1 */) {
5123     return HTMLTableRowElement(HTMLTableSectionElement_insertRow(this._parent, index));
5124   }
5125   auto insertRow()() {
5126     return HTMLTableRowElement(HTMLTableSectionElement_insertRow_0(this._parent));
5127   }
5128   void deleteRow()(int index) {
5129     HTMLTableSectionElement_deleteRow(this._parent, index);
5130   }
5131   void align_()(string align_) {
5132     HTMLTableSectionElement_align_Set(this._parent, align_);
5133   }
5134   auto align_()() {
5135     return HTMLTableSectionElement_align_Get(this._parent);
5136   }
5137   void ch()(string ch) {
5138     HTMLTableSectionElement_ch_Set(this._parent, ch);
5139   }
5140   auto ch()() {
5141     return HTMLTableSectionElement_ch_Get(this._parent);
5142   }
5143   void chOff()(string chOff) {
5144     HTMLTableSectionElement_chOff_Set(this._parent, chOff);
5145   }
5146   auto chOff()() {
5147     return HTMLTableSectionElement_chOff_Get(this._parent);
5148   }
5149   void vAlign()(string vAlign) {
5150     HTMLTableSectionElement_vAlign_Set(this._parent, vAlign);
5151   }
5152   auto vAlign()() {
5153     return HTMLTableSectionElement_vAlign_Get(this._parent);
5154   }
5155 }
5156 struct HTMLTemplateElement {
5157   nothrow:
5158   spasm.bindings.html.HTMLElement _parent;
5159   alias _parent this;
5160   this(Handle h) {
5161     _parent = .HTMLElement(h);
5162   }
5163   auto content()() {
5164     return DocumentFragment(HTMLTemplateElement_content_Get(this._parent));
5165   }
5166 }
5167 struct HTMLTextAreaElement {
5168   nothrow:
5169   spasm.bindings.html.HTMLElement _parent;
5170   alias _parent this;
5171   this(Handle h) {
5172     _parent = .HTMLElement(h);
5173   }
5174   void autocomplete()(string autocomplete) {
5175     HTMLTextAreaElement_autocomplete_Set(this._parent, autocomplete);
5176   }
5177   auto autocomplete()() {
5178     return HTMLTextAreaElement_autocomplete_Get(this._parent);
5179   }
5180   void autofocus()(bool autofocus) {
5181     HTMLTextAreaElement_autofocus_Set(this._parent, autofocus);
5182   }
5183   auto autofocus()() {
5184     return HTMLTextAreaElement_autofocus_Get(this._parent);
5185   }
5186   void cols()(uint cols) {
5187     HTMLTextAreaElement_cols_Set(this._parent, cols);
5188   }
5189   auto cols()() {
5190     return HTMLTextAreaElement_cols_Get(this._parent);
5191   }
5192   void dirName()(string dirName) {
5193     HTMLTextAreaElement_dirName_Set(this._parent, dirName);
5194   }
5195   auto dirName()() {
5196     return HTMLTextAreaElement_dirName_Get(this._parent);
5197   }
5198   void disabled()(bool disabled) {
5199     HTMLTextAreaElement_disabled_Set(this._parent, disabled);
5200   }
5201   auto disabled()() {
5202     return HTMLTextAreaElement_disabled_Get(this._parent);
5203   }
5204   auto form()() {
5205     return HTMLTextAreaElement_form_Get(this._parent);
5206   }
5207   void maxLength()(int maxLength) {
5208     HTMLTextAreaElement_maxLength_Set(this._parent, maxLength);
5209   }
5210   auto maxLength()() {
5211     return HTMLTextAreaElement_maxLength_Get(this._parent);
5212   }
5213   void minLength()(int minLength) {
5214     HTMLTextAreaElement_minLength_Set(this._parent, minLength);
5215   }
5216   auto minLength()() {
5217     return HTMLTextAreaElement_minLength_Get(this._parent);
5218   }
5219   void name()(string name) {
5220     HTMLTextAreaElement_name_Set(this._parent, name);
5221   }
5222   auto name()() {
5223     return HTMLTextAreaElement_name_Get(this._parent);
5224   }
5225   void placeholder()(string placeholder) {
5226     HTMLTextAreaElement_placeholder_Set(this._parent, placeholder);
5227   }
5228   auto placeholder()() {
5229     return HTMLTextAreaElement_placeholder_Get(this._parent);
5230   }
5231   void readOnly()(bool readOnly) {
5232     HTMLTextAreaElement_readOnly_Set(this._parent, readOnly);
5233   }
5234   auto readOnly()() {
5235     return HTMLTextAreaElement_readOnly_Get(this._parent);
5236   }
5237   void required()(bool required) {
5238     HTMLTextAreaElement_required_Set(this._parent, required);
5239   }
5240   auto required()() {
5241     return HTMLTextAreaElement_required_Get(this._parent);
5242   }
5243   void rows()(uint rows) {
5244     HTMLTextAreaElement_rows_Set(this._parent, rows);
5245   }
5246   auto rows()() {
5247     return HTMLTextAreaElement_rows_Get(this._parent);
5248   }
5249   void wrap()(string wrap) {
5250     HTMLTextAreaElement_wrap_Set(this._parent, wrap);
5251   }
5252   auto wrap()() {
5253     return HTMLTextAreaElement_wrap_Get(this._parent);
5254   }
5255   auto type()() {
5256     return HTMLTextAreaElement_type_Get(this._parent);
5257   }
5258   void defaultValue()(string defaultValue) {
5259     HTMLTextAreaElement_defaultValue_Set(this._parent, defaultValue);
5260   }
5261   auto defaultValue()() {
5262     return HTMLTextAreaElement_defaultValue_Get(this._parent);
5263   }
5264   void value()(string value) {
5265     HTMLTextAreaElement_value_Set(this._parent, value);
5266   }
5267   auto value()() {
5268     return HTMLTextAreaElement_value_Get(this._parent);
5269   }
5270   auto textLength()() {
5271     return HTMLTextAreaElement_textLength_Get(this._parent);
5272   }
5273   auto willValidate()() {
5274     return HTMLTextAreaElement_willValidate_Get(this._parent);
5275   }
5276   auto validity()() {
5277     return ValidityState(HTMLTextAreaElement_validity_Get(this._parent));
5278   }
5279   auto validationMessage()() {
5280     return HTMLTextAreaElement_validationMessage_Get(this._parent);
5281   }
5282   auto checkValidity()() {
5283     return HTMLTextAreaElement_checkValidity(this._parent);
5284   }
5285   auto reportValidity()() {
5286     return HTMLTextAreaElement_reportValidity(this._parent);
5287   }
5288   void setCustomValidity()(string error) {
5289     HTMLTextAreaElement_setCustomValidity(this._parent, error);
5290   }
5291   auto labels()() {
5292     return NodeList(HTMLTextAreaElement_labels_Get(this._parent));
5293   }
5294   void select()() {
5295     HTMLTextAreaElement_select(this._parent);
5296   }
5297   void selectionStart()(uint selectionStart) {
5298     HTMLTextAreaElement_selectionStart_Set(this._parent, selectionStart);
5299   }
5300   auto selectionStart()() {
5301     return HTMLTextAreaElement_selectionStart_Get(this._parent);
5302   }
5303   void selectionEnd()(uint selectionEnd) {
5304     HTMLTextAreaElement_selectionEnd_Set(this._parent, selectionEnd);
5305   }
5306   auto selectionEnd()() {
5307     return HTMLTextAreaElement_selectionEnd_Get(this._parent);
5308   }
5309   void selectionDirection()(string selectionDirection) {
5310     HTMLTextAreaElement_selectionDirection_Set(this._parent, selectionDirection);
5311   }
5312   auto selectionDirection()() {
5313     return HTMLTextAreaElement_selectionDirection_Get(this._parent);
5314   }
5315   void setRangeText()(string replacement) {
5316     HTMLTextAreaElement_setRangeText__string(this._parent, replacement);
5317   }
5318   void setRangeText()(string replacement, uint start, uint end, SelectionMode selectionMode /* = "preserve" */) {
5319     HTMLTextAreaElement_setRangeText__string_uint_uint_SelectionMode(this._parent, replacement, start, end, selectionMode);
5320   }
5321   void setRangeText()(string replacement, uint start, uint end) {
5322     HTMLTextAreaElement_setRangeText_0(this._parent, replacement, start, end);
5323   }
5324   void setSelectionRange()(uint start, uint end, string direction) {
5325     HTMLTextAreaElement_setSelectionRange(this._parent, start, end, direction);
5326   }
5327   void setSelectionRange()(uint start, uint end) {
5328     HTMLTextAreaElement_setSelectionRange_0(this._parent, start, end);
5329   }
5330 }
5331 struct HTMLTimeElement {
5332   nothrow:
5333   spasm.bindings.html.HTMLElement _parent;
5334   alias _parent this;
5335   this(Handle h) {
5336     _parent = .HTMLElement(h);
5337   }
5338   void dateTime()(string dateTime) {
5339     HTMLTimeElement_dateTime_Set(this._parent, dateTime);
5340   }
5341   auto dateTime()() {
5342     return HTMLTimeElement_dateTime_Get(this._parent);
5343   }
5344 }
5345 struct HTMLTitleElement {
5346   nothrow:
5347   spasm.bindings.html.HTMLElement _parent;
5348   alias _parent this;
5349   this(Handle h) {
5350     _parent = .HTMLElement(h);
5351   }
5352   void text()(string text) {
5353     HTMLTitleElement_text_Set(this._parent, text);
5354   }
5355   auto text()() {
5356     return HTMLTitleElement_text_Get(this._parent);
5357   }
5358 }
5359 struct HTMLTrackElement {
5360   nothrow:
5361   spasm.bindings.html.HTMLElement _parent;
5362   alias _parent this;
5363   this(Handle h) {
5364     _parent = .HTMLElement(h);
5365   }
5366   void kind()(string kind) {
5367     HTMLTrackElement_kind_Set(this._parent, kind);
5368   }
5369   auto kind()() {
5370     return HTMLTrackElement_kind_Get(this._parent);
5371   }
5372   void src()(string src) {
5373     HTMLTrackElement_src_Set(this._parent, src);
5374   }
5375   auto src()() {
5376     return HTMLTrackElement_src_Get(this._parent);
5377   }
5378   void srclang()(string srclang) {
5379     HTMLTrackElement_srclang_Set(this._parent, srclang);
5380   }
5381   auto srclang()() {
5382     return HTMLTrackElement_srclang_Get(this._parent);
5383   }
5384   void label()(string label) {
5385     HTMLTrackElement_label_Set(this._parent, label);
5386   }
5387   auto label()() {
5388     return HTMLTrackElement_label_Get(this._parent);
5389   }
5390   void default_()(bool default_) {
5391     HTMLTrackElement_default_Set(this._parent, default_);
5392   }
5393   auto default_()() {
5394     return HTMLTrackElement_default_Get(this._parent);
5395   }
5396   enum ushort NONE = 0;
5397   enum ushort LOADING = 1;
5398   enum ushort LOADED = 2;
5399   enum ushort ERROR = 3;
5400   auto readyState()() {
5401     return HTMLTrackElement_readyState_Get(this._parent);
5402   }
5403   auto track()() {
5404     return TextTrack(HTMLTrackElement_track_Get(this._parent));
5405   }
5406 }
5407 struct HTMLUListElement {
5408   nothrow:
5409   spasm.bindings.html.HTMLElement _parent;
5410   alias _parent this;
5411   this(Handle h) {
5412     _parent = .HTMLElement(h);
5413   }
5414   void compact()(bool compact) {
5415     HTMLUListElement_compact_Set(this._parent, compact);
5416   }
5417   auto compact()() {
5418     return HTMLUListElement_compact_Get(this._parent);
5419   }
5420   void type()(string type) {
5421     HTMLUListElement_type_Set(this._parent, type);
5422   }
5423   auto type()() {
5424     return HTMLUListElement_type_Get(this._parent);
5425   }
5426 }
5427 struct HTMLUnknownElement {
5428   nothrow:
5429   spasm.bindings.html.HTMLElement _parent;
5430   alias _parent this;
5431   this(Handle h) {
5432     _parent = .HTMLElement(h);
5433   }
5434 }
5435 struct HTMLVideoElement {
5436   nothrow:
5437   spasm.bindings.html.HTMLMediaElement _parent;
5438   alias _parent this;
5439   this(Handle h) {
5440     _parent = .HTMLMediaElement(h);
5441   }
5442   void width()(uint width) {
5443     HTMLVideoElement_width_Set(this._parent, width);
5444   }
5445   auto width()() {
5446     return HTMLVideoElement_width_Get(this._parent);
5447   }
5448   void height()(uint height) {
5449     HTMLVideoElement_height_Set(this._parent, height);
5450   }
5451   auto height()() {
5452     return HTMLVideoElement_height_Get(this._parent);
5453   }
5454   auto videoWidth()() {
5455     return HTMLVideoElement_videoWidth_Get(this._parent);
5456   }
5457   auto videoHeight()() {
5458     return HTMLVideoElement_videoHeight_Get(this._parent);
5459   }
5460   void poster()(string poster) {
5461     HTMLVideoElement_poster_Set(this._parent, poster);
5462   }
5463   auto poster()() {
5464     return HTMLVideoElement_poster_Get(this._parent);
5465   }
5466   void playsInline()(bool playsInline) {
5467     HTMLVideoElement_playsInline_Set(this._parent, playsInline);
5468   }
5469   auto playsInline()() {
5470     return HTMLVideoElement_playsInline_Get(this._parent);
5471   }
5472 }
5473 struct HashChangeEvent {
5474   nothrow:
5475   spasm.bindings.dom.Event _parent;
5476   alias _parent this;
5477   this(Handle h) {
5478     _parent = .Event(h);
5479   }
5480   auto oldURL()() {
5481     return HashChangeEvent_oldURL_Get(this._parent);
5482   }
5483   auto newURL()() {
5484     return HashChangeEvent_newURL_Get(this._parent);
5485   }
5486 }
5487 struct HashChangeEventInit {
5488   nothrow:
5489   spasm.bindings.dom.EventInit _parent;
5490   alias _parent this;
5491   this(Handle h) {
5492     _parent = .EventInit(h);
5493   }
5494   static auto create() {
5495     return HashChangeEventInit(spasm_add__object());
5496   }
5497   void oldURL()(string oldURL) {
5498     HashChangeEventInit_oldURL_Set(this._parent, oldURL);
5499   }
5500   auto oldURL()() {
5501     return HashChangeEventInit_oldURL_Get(this._parent);
5502   }
5503   void newURL()(string newURL) {
5504     HashChangeEventInit_newURL_Set(this._parent, newURL);
5505   }
5506   auto newURL()() {
5507     return HashChangeEventInit_newURL_Get(this._parent);
5508   }
5509 }
5510 struct History {
5511   nothrow:
5512   JsHandle handle;
5513   alias handle this;
5514   this(Handle h) {
5515     this.handle = JsHandle(h);
5516   }
5517   auto length()() {
5518     return History_length_Get(this.handle);
5519   }
5520   void scrollRestoration()(ScrollRestoration scrollRestoration) {
5521     History_scrollRestoration_Set(this.handle, scrollRestoration);
5522   }
5523   auto scrollRestoration()() {
5524     return History_scrollRestoration_Get(this.handle);
5525   }
5526   auto state()() {
5527     return Any(History_state_Get(this.handle));
5528   }
5529   void go()(int delta /* = 0 */) {
5530     History_go(this.handle, delta);
5531   }
5532   void go()() {
5533     History_go_0(this.handle);
5534   }
5535   void back()() {
5536     History_back(this.handle);
5537   }
5538   void forward()() {
5539     History_forward(this.handle);
5540   }
5541   void pushState(T0, T2)(scope auto ref T0 data, string title, scope auto ref Optional!(T2) url /* = no!(string) */) if (isTOrPointer!(T2, string)) {
5542     Handle _handle_data = getOrCreateHandle(data);
5543     History_pushState(this.handle, _handle_data, title, !url.empty, url.front);
5544     dropHandle!(T0)(_handle_data);
5545   }
5546   void pushState(T0)(scope auto ref T0 data, string title) {
5547     Handle _handle_data = getOrCreateHandle(data);
5548     History_pushState_0(this.handle, _handle_data, title);
5549     dropHandle!(T0)(_handle_data);
5550   }
5551   void replaceState(T0, T2)(scope auto ref T0 data, string title, scope auto ref Optional!(T2) url /* = no!(string) */) if (isTOrPointer!(T2, string)) {
5552     Handle _handle_data = getOrCreateHandle(data);
5553     History_replaceState(this.handle, _handle_data, title, !url.empty, url.front);
5554     dropHandle!(T0)(_handle_data);
5555   }
5556   void replaceState(T0)(scope auto ref T0 data, string title) {
5557     Handle _handle_data = getOrCreateHandle(data);
5558     History_replaceState_0(this.handle, _handle_data, title);
5559     dropHandle!(T0)(_handle_data);
5560   }
5561 }
5562 struct ImageBitmap {
5563   nothrow:
5564   JsHandle handle;
5565   alias handle this;
5566   this(Handle h) {
5567     this.handle = JsHandle(h);
5568   }
5569   auto width()() {
5570     return ImageBitmap_width_Get(this.handle);
5571   }
5572   auto height()() {
5573     return ImageBitmap_height_Get(this.handle);
5574   }
5575   void close()() {
5576     ImageBitmap_close(this.handle);
5577   }
5578 }
5579 struct ImageBitmapOptions {
5580   nothrow:
5581   JsHandle handle;
5582   alias handle this;
5583   this(Handle h) {
5584     this.handle = JsHandle(h);
5585   }
5586   static auto create() {
5587     return ImageBitmapOptions(spasm_add__object());
5588   }
5589   void imageOrientation()(ImageOrientation imageOrientation) {
5590     ImageBitmapOptions_imageOrientation_Set(this.handle, imageOrientation);
5591   }
5592   auto imageOrientation()() {
5593     return ImageBitmapOptions_imageOrientation_Get(this.handle);
5594   }
5595   void premultiplyAlpha()(PremultiplyAlpha premultiplyAlpha) {
5596     ImageBitmapOptions_premultiplyAlpha_Set(this.handle, premultiplyAlpha);
5597   }
5598   auto premultiplyAlpha()() {
5599     return ImageBitmapOptions_premultiplyAlpha_Get(this.handle);
5600   }
5601   void colorSpaceConversion()(ColorSpaceConversion colorSpaceConversion) {
5602     ImageBitmapOptions_colorSpaceConversion_Set(this.handle, colorSpaceConversion);
5603   }
5604   auto colorSpaceConversion()() {
5605     return ImageBitmapOptions_colorSpaceConversion_Get(this.handle);
5606   }
5607   void resizeWidth()(uint resizeWidth) {
5608     ImageBitmapOptions_resizeWidth_Set(this.handle, resizeWidth);
5609   }
5610   auto resizeWidth()() {
5611     return ImageBitmapOptions_resizeWidth_Get(this.handle);
5612   }
5613   void resizeHeight()(uint resizeHeight) {
5614     ImageBitmapOptions_resizeHeight_Set(this.handle, resizeHeight);
5615   }
5616   auto resizeHeight()() {
5617     return ImageBitmapOptions_resizeHeight_Get(this.handle);
5618   }
5619   void resizeQuality()(ResizeQuality resizeQuality) {
5620     ImageBitmapOptions_resizeQuality_Set(this.handle, resizeQuality);
5621   }
5622   auto resizeQuality()() {
5623     return ImageBitmapOptions_resizeQuality_Get(this.handle);
5624   }
5625 }
5626 struct ImageBitmapRenderingContext {
5627   nothrow:
5628   JsHandle handle;
5629   alias handle this;
5630   this(Handle h) {
5631     this.handle = JsHandle(h);
5632   }
5633   auto canvas()() {
5634     return HTMLCanvasElement(ImageBitmapRenderingContext_canvas_Get(this.handle));
5635   }
5636   void transferFromImageBitmap(T0)(scope auto ref Optional!(T0) bitmap) if (isTOrPointer!(T0, ImageBitmap)) {
5637     ImageBitmapRenderingContext_transferFromImageBitmap(this.handle, !bitmap.empty, bitmap.front.handle);
5638   }
5639 }
5640 struct ImageBitmapRenderingContextSettings {
5641   nothrow:
5642   JsHandle handle;
5643   alias handle this;
5644   this(Handle h) {
5645     this.handle = JsHandle(h);
5646   }
5647   static auto create() {
5648     return ImageBitmapRenderingContextSettings(spasm_add__object());
5649   }
5650   void alpha()(bool alpha) {
5651     ImageBitmapRenderingContextSettings_alpha_Set(this.handle, alpha);
5652   }
5653   auto alpha()() {
5654     return ImageBitmapRenderingContextSettings_alpha_Get(this.handle);
5655   }
5656 }
5657 alias ImageBitmapSource = SumType!(CanvasImageSource, Blob, ImageData);
5658 struct ImageData {
5659   nothrow:
5660   JsHandle handle;
5661   alias handle this;
5662   this(Handle h) {
5663     this.handle = JsHandle(h);
5664   }
5665   auto width()() {
5666     return ImageData_width_Get(this.handle);
5667   }
5668   auto height()() {
5669     return ImageData_height_Get(this.handle);
5670   }
5671   auto data()() {
5672     return Uint8ClampedArray(ImageData_data_Get(this.handle));
5673   }
5674 }
5675 struct ImageEncodeOptions {
5676   nothrow:
5677   JsHandle handle;
5678   alias handle this;
5679   this(Handle h) {
5680     this.handle = JsHandle(h);
5681   }
5682   static auto create() {
5683     return ImageEncodeOptions(spasm_add__object());
5684   }
5685   void type()(string type) {
5686     ImageEncodeOptions_type_Set(this.handle, type);
5687   }
5688   auto type()() {
5689     return ImageEncodeOptions_type_Get(this.handle);
5690   }
5691   void quality()(double quality) {
5692     ImageEncodeOptions_quality_Set(this.handle, quality);
5693   }
5694   auto quality()() {
5695     return ImageEncodeOptions_quality_Get(this.handle);
5696   }
5697 }
5698 enum ImageOrientation {
5699   none,
5700   flipY
5701 }
5702 enum ImageSmoothingQuality {
5703   low,
5704   medium,
5705   high
5706 }
5707 struct Location {
5708   nothrow:
5709   JsHandle handle;
5710   alias handle this;
5711   this(Handle h) {
5712     this.handle = JsHandle(h);
5713   }
5714   void href()(string href) {
5715     Location_href_Set(this.handle, href);
5716   }
5717   auto href()() {
5718     return Location_href_Get(this.handle);
5719   }
5720   auto origin()() {
5721     return Location_origin_Get(this.handle);
5722   }
5723   void protocol()(string protocol) {
5724     Location_protocol_Set(this.handle, protocol);
5725   }
5726   auto protocol()() {
5727     return Location_protocol_Get(this.handle);
5728   }
5729   void host()(string host) {
5730     Location_host_Set(this.handle, host);
5731   }
5732   auto host()() {
5733     return Location_host_Get(this.handle);
5734   }
5735   void hostname()(string hostname) {
5736     Location_hostname_Set(this.handle, hostname);
5737   }
5738   auto hostname()() {
5739     return Location_hostname_Get(this.handle);
5740   }
5741   void port()(string port) {
5742     Location_port_Set(this.handle, port);
5743   }
5744   auto port()() {
5745     return Location_port_Get(this.handle);
5746   }
5747   void pathname()(string pathname) {
5748     Location_pathname_Set(this.handle, pathname);
5749   }
5750   auto pathname()() {
5751     return Location_pathname_Get(this.handle);
5752   }
5753   void search()(string search) {
5754     Location_search_Set(this.handle, search);
5755   }
5756   auto search()() {
5757     return Location_search_Get(this.handle);
5758   }
5759   void hash()(string hash) {
5760     Location_hash_Set(this.handle, hash);
5761   }
5762   auto hash()() {
5763     return Location_hash_Get(this.handle);
5764   }
5765   void assign()(string url) {
5766     Location_assign(this.handle, url);
5767   }
5768   void replace()(string url) {
5769     Location_replace(this.handle, url);
5770   }
5771   void reload()() {
5772     Location_reload(this.handle);
5773   }
5774   auto ancestorOrigins()() {
5775     return DOMStringList(Location_ancestorOrigins_Get(this.handle));
5776   }
5777 }
5778 struct MediaError {
5779   nothrow:
5780   JsHandle handle;
5781   alias handle this;
5782   this(Handle h) {
5783     this.handle = JsHandle(h);
5784   }
5785   enum ushort MEDIA_ERR_ABORTED = 1;
5786   enum ushort MEDIA_ERR_NETWORK = 2;
5787   enum ushort MEDIA_ERR_DECODE = 3;
5788   enum ushort MEDIA_ERR_SRC_NOT_SUPPORTED = 4;
5789   auto code()() {
5790     return MediaError_code_Get(this.handle);
5791   }
5792   auto message()() {
5793     return MediaError_message_Get(this.handle);
5794   }
5795 }
5796 alias MediaProvider = SumType!(MediaStream, MediaSource, Blob);
5797 struct MessageChannel {
5798   nothrow:
5799   JsHandle handle;
5800   alias handle this;
5801   this(Handle h) {
5802     this.handle = JsHandle(h);
5803   }
5804   auto port1()() {
5805     return MessagePort(MessageChannel_port1_Get(this.handle));
5806   }
5807   auto port2()() {
5808     return MessagePort(MessageChannel_port2_Get(this.handle));
5809   }
5810 }
5811 struct MessageEvent {
5812   nothrow:
5813   spasm.bindings.dom.Event _parent;
5814   alias _parent this;
5815   this(Handle h) {
5816     _parent = .Event(h);
5817   }
5818   auto data()() {
5819     return Any(MessageEvent_data_Get(this._parent));
5820   }
5821   auto origin()() {
5822     return MessageEvent_origin_Get(this._parent);
5823   }
5824   auto lastEventId()() {
5825     return MessageEvent_lastEventId_Get(this._parent);
5826   }
5827   auto source()() {
5828     return MessageEvent_source_Get(this._parent);
5829   }
5830   auto ports()() {
5831     return FrozenArray!(MessagePort)(MessageEvent_ports_Get(this._parent));
5832   }
5833   void initMessageEvent(T3, T6)(string type, bool bubbles /* = false */, bool cancelable /* = false */, scope auto ref T3 data /* = null */, string origin /* = "" */, string lastEventId /* = "" */, scope auto ref Optional!(T6) source /* = no!(MessageEventSource) */, scope ref Sequence!(MessagePort) ports /* = [] */) if (isTOrPointer!(T6, MessageEventSource)) {
5834     Handle _handle_data = getOrCreateHandle(data);
5835     MessageEvent_initMessageEvent(this._parent, type, bubbles, cancelable, _handle_data, origin, lastEventId, !source.empty, *source.frontRef, ports.handle);
5836     dropHandle!(T3)(_handle_data);
5837   }
5838   void initMessageEvent(T3, T6)(string type, bool bubbles /* = false */, bool cancelable /* = false */, scope auto ref T3 data /* = null */, string origin /* = "" */, string lastEventId /* = "" */, scope auto ref Optional!(T6) source /* = no!(MessageEventSource) */) if (isTOrPointer!(T6, MessageEventSource)) {
5839     Handle _handle_data = getOrCreateHandle(data);
5840     MessageEvent_initMessageEvent_0(this._parent, type, bubbles, cancelable, _handle_data, origin, lastEventId, !source.empty, *source.frontRef);
5841     dropHandle!(T3)(_handle_data);
5842   }
5843   void initMessageEvent(T3)(string type, bool bubbles /* = false */, bool cancelable /* = false */, scope auto ref T3 data /* = null */, string origin /* = "" */, string lastEventId /* = "" */) {
5844     Handle _handle_data = getOrCreateHandle(data);
5845     MessageEvent_initMessageEvent_1(this._parent, type, bubbles, cancelable, _handle_data, origin, lastEventId);
5846     dropHandle!(T3)(_handle_data);
5847   }
5848   void initMessageEvent(T3)(string type, bool bubbles /* = false */, bool cancelable /* = false */, scope auto ref T3 data /* = null */, string origin /* = "" */) {
5849     Handle _handle_data = getOrCreateHandle(data);
5850     MessageEvent_initMessageEvent_2(this._parent, type, bubbles, cancelable, _handle_data, origin);
5851     dropHandle!(T3)(_handle_data);
5852   }
5853   void initMessageEvent(T3)(string type, bool bubbles /* = false */, bool cancelable /* = false */, scope auto ref T3 data /* = null */) {
5854     Handle _handle_data = getOrCreateHandle(data);
5855     MessageEvent_initMessageEvent_3(this._parent, type, bubbles, cancelable, _handle_data);
5856     dropHandle!(T3)(_handle_data);
5857   }
5858   void initMessageEvent()(string type, bool bubbles /* = false */, bool cancelable /* = false */) {
5859     MessageEvent_initMessageEvent_4(this._parent, type, bubbles, cancelable);
5860   }
5861   void initMessageEvent()(string type, bool bubbles /* = false */) {
5862     MessageEvent_initMessageEvent_5(this._parent, type, bubbles);
5863   }
5864   void initMessageEvent()(string type) {
5865     MessageEvent_initMessageEvent_6(this._parent, type);
5866   }
5867 }
5868 struct MessageEventInit {
5869   nothrow:
5870   spasm.bindings.dom.EventInit _parent;
5871   alias _parent this;
5872   this(Handle h) {
5873     _parent = .EventInit(h);
5874   }
5875   static auto create() {
5876     return MessageEventInit(spasm_add__object());
5877   }
5878   void data(T0)(scope auto ref T0 data) {
5879     Handle _handle_data = getOrCreateHandle(data);
5880     MessageEventInit_data_Set(this._parent, _handle_data);
5881     dropHandle!(T0)(_handle_data);
5882   }
5883   auto data()() {
5884     return Any(MessageEventInit_data_Get(this._parent));
5885   }
5886   void origin()(string origin) {
5887     MessageEventInit_origin_Set(this._parent, origin);
5888   }
5889   auto origin()() {
5890     return MessageEventInit_origin_Get(this._parent);
5891   }
5892   void lastEventId()(string lastEventId) {
5893     MessageEventInit_lastEventId_Set(this._parent, lastEventId);
5894   }
5895   auto lastEventId()() {
5896     return MessageEventInit_lastEventId_Get(this._parent);
5897   }
5898   void source(T0)(scope auto ref Optional!(T0) source) if (isTOrPointer!(T0, MessageEventSource)) {
5899     MessageEventInit_source_Set(this._parent, !source.empty, *source.frontRef);
5900   }
5901   auto source()() {
5902     return MessageEventInit_source_Get(this._parent);
5903   }
5904   void ports()(scope ref Sequence!(MessagePort) ports) {
5905     MessageEventInit_ports_Set(this._parent, ports.handle);
5906   }
5907   auto ports()() {
5908     return Sequence!(MessagePort)(MessageEventInit_ports_Get(this._parent));
5909   }
5910 }
5911 alias MessageEventSource = SumType!(Window, MessagePort, ServiceWorker);
5912 struct MessagePort {
5913   nothrow:
5914   spasm.bindings.dom.EventTarget _parent;
5915   alias _parent this;
5916   this(Handle h) {
5917     _parent = .EventTarget(h);
5918   }
5919   void postMessage(T0)(scope auto ref T0 message, scope ref Sequence!(JsObject) transfer) {
5920     Handle _handle_message = getOrCreateHandle(message);
5921     MessagePort_postMessage__Handle_sequence(this._parent, _handle_message, transfer.handle);
5922     dropHandle!(T0)(_handle_message);
5923   }
5924   void postMessage(T0)(scope auto ref T0 message, scope ref PostMessageOptions options) {
5925     Handle _handle_message = getOrCreateHandle(message);
5926     MessagePort_postMessage__Handle_Handle(this._parent, _handle_message, options.handle);
5927     dropHandle!(T0)(_handle_message);
5928   }
5929   void postMessage(T0)(scope auto ref T0 message) {
5930     Handle _handle_message = getOrCreateHandle(message);
5931     MessagePort_postMessage_0(this._parent, _handle_message);
5932     dropHandle!(T0)(_handle_message);
5933   }
5934   void start()() {
5935     MessagePort_start(this._parent);
5936   }
5937   void close()() {
5938     MessagePort_close(this._parent);
5939   }
5940   void onmessage()(EventHandler onmessage) {
5941     MessagePort_onmessage_Set(this._parent, onmessage);
5942   }
5943   auto onmessage()() {
5944     return MessagePort_onmessage_Get(this._parent);
5945   }
5946   void onmessageerror()(EventHandler onmessageerror) {
5947     MessagePort_onmessageerror_Set(this._parent, onmessageerror);
5948   }
5949   auto onmessageerror()() {
5950     return MessagePort_onmessageerror_Get(this._parent);
5951   }
5952 }
5953 struct MimeType {
5954   nothrow:
5955   JsHandle handle;
5956   alias handle this;
5957   this(Handle h) {
5958     this.handle = JsHandle(h);
5959   }
5960   auto type()() {
5961     return MimeType_type_Get(this.handle);
5962   }
5963   auto description()() {
5964     return MimeType_description_Get(this.handle);
5965   }
5966   auto suffixes()() {
5967     return MimeType_suffixes_Get(this.handle);
5968   }
5969   auto enabledPlugin()() {
5970     return Plugin(MimeType_enabledPlugin_Get(this.handle));
5971   }
5972 }
5973 struct MimeTypeArray {
5974   nothrow:
5975   JsHandle handle;
5976   alias handle this;
5977   this(Handle h) {
5978     this.handle = JsHandle(h);
5979   }
5980   auto length()() {
5981     return MimeTypeArray_length_Get(this.handle);
5982   }
5983   auto item()(uint index) {
5984     return MimeTypeArray_item_getter(this.handle, index);
5985   }
5986   auto namedItem()(string name) {
5987     return MimeTypeArray_namedItem_getter(this.handle, name);
5988   }
5989 }
5990 struct Navigator {
5991   nothrow:
5992   JsHandle handle;
5993   alias handle this;
5994   this(Handle h) {
5995     this.handle = JsHandle(h);
5996   }
5997   auto clipboard()() {
5998     return Clipboard(Navigator_clipboard_Get(this.handle));
5999   }
6000   auto permissions()() {
6001     return Permissions(Navigator_permissions_Get(this.handle));
6002   }
6003   auto vibrate()(scope ref VibratePattern pattern) {
6004     return Navigator_vibrate(this.handle, pattern);
6005   }
6006   auto mediaDevices()() {
6007     return MediaDevices(Navigator_mediaDevices_Get(this.handle));
6008   }
6009   void getUserMedia()(scope ref MediaStreamConstraints constraints, NavigatorUserMediaSuccessCallback successCallback, NavigatorUserMediaErrorCallback errorCallback) {
6010     Navigator_getUserMedia(this.handle, constraints.handle, successCallback, errorCallback);
6011   }
6012   auto maxTouchPoints()() {
6013     return Navigator_maxTouchPoints_Get(this.handle);
6014   }
6015   auto serviceWorker()() {
6016     return ServiceWorkerContainer(Navigator_serviceWorker_Get(this.handle));
6017   }
6018   auto hardwareConcurrency()() {
6019     return NavigatorConcurrentHardware_hardwareConcurrency_Get(this.handle);
6020   }
6021   auto plugins()() {
6022     return PluginArray(NavigatorPlugins_plugins_Get(this.handle));
6023   }
6024   auto mimeTypes()() {
6025     return MimeTypeArray(NavigatorPlugins_mimeTypes_Get(this.handle));
6026   }
6027   auto javaEnabled()() {
6028     return NavigatorPlugins_javaEnabled(this.handle);
6029   }
6030   auto cookieEnabled()() {
6031     return NavigatorCookies_cookieEnabled_Get(this.handle);
6032   }
6033   void registerProtocolHandler()(string scheme, string url, string title) {
6034     NavigatorContentUtils_registerProtocolHandler(this.handle, scheme, url, title);
6035   }
6036   void unregisterProtocolHandler()(string scheme, string url) {
6037     NavigatorContentUtils_unregisterProtocolHandler(this.handle, scheme, url);
6038   }
6039   auto onLine()() {
6040     return NavigatorOnLine_onLine_Get(this.handle);
6041   }
6042   auto language()() {
6043     return NavigatorLanguage_language_Get(this.handle);
6044   }
6045   auto languages()() {
6046     return FrozenArray!(string)(NavigatorLanguage_languages_Get(this.handle));
6047   }
6048   auto appCodeName()() {
6049     return NavigatorID_appCodeName_Get(this.handle);
6050   }
6051   auto appName()() {
6052     return NavigatorID_appName_Get(this.handle);
6053   }
6054   auto appVersion()() {
6055     return NavigatorID_appVersion_Get(this.handle);
6056   }
6057   auto platform()() {
6058     return NavigatorID_platform_Get(this.handle);
6059   }
6060   auto product()() {
6061     return NavigatorID_product_Get(this.handle);
6062   }
6063   auto productSub()() {
6064     return NavigatorID_productSub_Get(this.handle);
6065   }
6066   auto userAgent()() {
6067     return NavigatorID_userAgent_Get(this.handle);
6068   }
6069   auto vendor()() {
6070     return NavigatorID_vendor_Get(this.handle);
6071   }
6072   auto vendorSub()() {
6073     return NavigatorID_vendorSub_Get(this.handle);
6074   }
6075   auto taintEnabled()() {
6076     return NavigatorID_taintEnabled(this.handle);
6077   }
6078   auto oscpu()() {
6079     return NavigatorID_oscpu_Get(this.handle);
6080   }
6081 }
6082 struct OffscreenCanvas {
6083   nothrow:
6084   spasm.bindings.dom.EventTarget _parent;
6085   alias _parent this;
6086   this(Handle h) {
6087     _parent = .EventTarget(h);
6088   }
6089   void width()(uint width) {
6090     OffscreenCanvas_width_Set(this._parent, width);
6091   }
6092   auto width()() {
6093     return OffscreenCanvas_width_Get(this._parent);
6094   }
6095   void height()(uint height) {
6096     OffscreenCanvas_height_Set(this._parent, height);
6097   }
6098   auto height()() {
6099     return OffscreenCanvas_height_Get(this._parent);
6100   }
6101   auto getContext(T1)(OffscreenRenderingContextId contextId, scope auto ref T1 options /* = null */) {
6102     Handle _handle_options = getOrCreateHandle(options);
6103     auto result = OffscreenCanvas_getContext(this._parent, contextId, _handle_options);
6104     dropHandle!(T1)(_handle_options);
6105     return result;
6106   }
6107   auto getContext()(OffscreenRenderingContextId contextId) {
6108     return OffscreenCanvas_getContext_0(this._parent, contextId);
6109   }
6110   auto transferToImageBitmap()() {
6111     return ImageBitmap(OffscreenCanvas_transferToImageBitmap(this._parent));
6112   }
6113   auto convertToBlob()(scope ref ImageEncodeOptions options) {
6114     return Promise!(Blob)(OffscreenCanvas_convertToBlob(this._parent, options.handle));
6115   }
6116   auto convertToBlob()() {
6117     return Promise!(Blob)(OffscreenCanvas_convertToBlob_0(this._parent));
6118   }
6119 }
6120 struct OffscreenCanvasRenderingContext2D {
6121   nothrow:
6122   JsHandle handle;
6123   alias handle this;
6124   this(Handle h) {
6125     this.handle = JsHandle(h);
6126   }
6127   void commit()() {
6128     OffscreenCanvasRenderingContext2D_commit(this.handle);
6129   }
6130   auto canvas()() {
6131     return OffscreenCanvas(OffscreenCanvasRenderingContext2D_canvas_Get(this.handle));
6132   }
6133   void closePath()() {
6134     CanvasPath_closePath(this.handle);
6135   }
6136   void moveTo()(double x, double y) {
6137     CanvasPath_moveTo(this.handle, x, y);
6138   }
6139   void lineTo()(double x, double y) {
6140     CanvasPath_lineTo(this.handle, x, y);
6141   }
6142   void quadraticCurveTo()(double cpx, double cpy, double x, double y) {
6143     CanvasPath_quadraticCurveTo(this.handle, cpx, cpy, x, y);
6144   }
6145   void bezierCurveTo()(double cp1x, double cp1y, double cp2x, double cp2y, double x, double y) {
6146     CanvasPath_bezierCurveTo(this.handle, cp1x, cp1y, cp2x, cp2y, x, y);
6147   }
6148   void arcTo()(double x1, double y1, double x2, double y2, double radius) {
6149     CanvasPath_arcTo(this.handle, x1, y1, x2, y2, radius);
6150   }
6151   void rect()(double x, double y, double w, double h) {
6152     CanvasPath_rect(this.handle, x, y, w, h);
6153   }
6154   void arc()(double x, double y, double radius, double startAngle, double endAngle, bool anticlockwise /* = false */) {
6155     CanvasPath_arc(this.handle, x, y, radius, startAngle, endAngle, anticlockwise);
6156   }
6157   void arc()(double x, double y, double radius, double startAngle, double endAngle) {
6158     CanvasPath_arc_0(this.handle, x, y, radius, startAngle, endAngle);
6159   }
6160   void ellipse()(double x, double y, double radiusX, double radiusY, double rotation, double startAngle, double endAngle, bool anticlockwise /* = false */) {
6161     CanvasPath_ellipse(this.handle, x, y, radiusX, radiusY, rotation, startAngle, endAngle, anticlockwise);
6162   }
6163   void ellipse()(double x, double y, double radiusX, double radiusY, double rotation, double startAngle, double endAngle) {
6164     CanvasPath_ellipse_0(this.handle, x, y, radiusX, radiusY, rotation, startAngle, endAngle);
6165   }
6166   void font()(string font) {
6167     CanvasTextDrawingStyles_font_Set(this.handle, font);
6168   }
6169   auto font()() {
6170     return CanvasTextDrawingStyles_font_Get(this.handle);
6171   }
6172   void textAlign()(CanvasTextAlign textAlign) {
6173     CanvasTextDrawingStyles_textAlign_Set(this.handle, textAlign);
6174   }
6175   auto textAlign()() {
6176     return CanvasTextDrawingStyles_textAlign_Get(this.handle);
6177   }
6178   void textBaseline()(CanvasTextBaseline textBaseline) {
6179     CanvasTextDrawingStyles_textBaseline_Set(this.handle, textBaseline);
6180   }
6181   auto textBaseline()() {
6182     return CanvasTextDrawingStyles_textBaseline_Get(this.handle);
6183   }
6184   void direction()(CanvasDirection direction) {
6185     CanvasTextDrawingStyles_direction_Set(this.handle, direction);
6186   }
6187   auto direction()() {
6188     return CanvasTextDrawingStyles_direction_Get(this.handle);
6189   }
6190   void lineWidth()(double lineWidth) {
6191     CanvasPathDrawingStyles_lineWidth_Set(this.handle, lineWidth);
6192   }
6193   auto lineWidth()() {
6194     return CanvasPathDrawingStyles_lineWidth_Get(this.handle);
6195   }
6196   void lineCap()(CanvasLineCap lineCap) {
6197     CanvasPathDrawingStyles_lineCap_Set(this.handle, lineCap);
6198   }
6199   auto lineCap()() {
6200     return CanvasPathDrawingStyles_lineCap_Get(this.handle);
6201   }
6202   void lineJoin()(CanvasLineJoin lineJoin) {
6203     CanvasPathDrawingStyles_lineJoin_Set(this.handle, lineJoin);
6204   }
6205   auto lineJoin()() {
6206     return CanvasPathDrawingStyles_lineJoin_Get(this.handle);
6207   }
6208   void miterLimit()(double miterLimit) {
6209     CanvasPathDrawingStyles_miterLimit_Set(this.handle, miterLimit);
6210   }
6211   auto miterLimit()() {
6212     return CanvasPathDrawingStyles_miterLimit_Get(this.handle);
6213   }
6214   void setLineDash()(scope ref Sequence!(double) segments) {
6215     CanvasPathDrawingStyles_setLineDash(this.handle, segments.handle);
6216   }
6217   auto getLineDash()() {
6218     return Sequence!(double)(CanvasPathDrawingStyles_getLineDash(this.handle));
6219   }
6220   void lineDashOffset()(double lineDashOffset) {
6221     CanvasPathDrawingStyles_lineDashOffset_Set(this.handle, lineDashOffset);
6222   }
6223   auto lineDashOffset()() {
6224     return CanvasPathDrawingStyles_lineDashOffset_Get(this.handle);
6225   }
6226   auto createImageData()(int sw, int sh) {
6227     return ImageData(CanvasImageData_createImageData__int_int(this.handle, sw, sh));
6228   }
6229   auto createImageData()(scope ref ImageData imagedata) {
6230     return ImageData(CanvasImageData_createImageData__Handle(this.handle, imagedata.handle));
6231   }
6232   auto getImageData()(int sx, int sy, int sw, int sh) {
6233     return ImageData(CanvasImageData_getImageData(this.handle, sx, sy, sw, sh));
6234   }
6235   void putImageData()(scope ref ImageData imagedata, int dx, int dy) {
6236     CanvasImageData_putImageData__Handle_int_int(this.handle, imagedata.handle, dx, dy);
6237   }
6238   void putImageData()(scope ref ImageData imagedata, int dx, int dy, int dirtyX, int dirtyY, int dirtyWidth, int dirtyHeight) {
6239     CanvasImageData_putImageData__Handle_int_int_int_int_int_int(this.handle, imagedata.handle, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight);
6240   }
6241   void drawImage()(scope ref CanvasImageSource image, double dx, double dy) {
6242     CanvasDrawImage_drawImage__CanvasImageSource_double_double(this.handle, image, dx, dy);
6243   }
6244   void drawImage()(scope ref CanvasImageSource image, double dx, double dy, double dw, double dh) {
6245     CanvasDrawImage_drawImage__CanvasImageSource_double_double_double_double(this.handle, image, dx, dy, dw, dh);
6246   }
6247   void drawImage()(scope ref CanvasImageSource image, double sx, double sy, double sw, double sh, double dx, double dy, double dw, double dh) {
6248     CanvasDrawImage_drawImage__CanvasImageSource_double_double_double_double_double_double_double_double(this.handle, image, sx, sy, sw, sh, dx, dy, dw, dh);
6249   }
6250   void fillText()(string text, double x, double y, double maxWidth) {
6251     CanvasText_fillText(this.handle, text, x, y, maxWidth);
6252   }
6253   void fillText()(string text, double x, double y) {
6254     CanvasText_fillText_0(this.handle, text, x, y);
6255   }
6256   void strokeText()(string text, double x, double y, double maxWidth) {
6257     CanvasText_strokeText(this.handle, text, x, y, maxWidth);
6258   }
6259   void strokeText()(string text, double x, double y) {
6260     CanvasText_strokeText_0(this.handle, text, x, y);
6261   }
6262   auto measureText()(string text) {
6263     return TextMetrics(CanvasText_measureText(this.handle, text));
6264   }
6265   void beginPath()() {
6266     CanvasDrawPath_beginPath(this.handle);
6267   }
6268   void fill()(CanvasFillRule fillRule /* = "nonzero" */) {
6269     CanvasDrawPath_fill__CanvasFillRule(this.handle, fillRule);
6270   }
6271   void fill()() {
6272     CanvasDrawPath_fill_0_(this.handle);
6273   }
6274   void fill()(scope ref Path2D path, CanvasFillRule fillRule /* = "nonzero" */) {
6275     CanvasDrawPath_fill__Handle_CanvasFillRule(this.handle, path.handle, fillRule);
6276   }
6277   void fill()(scope ref Path2D path) {
6278     CanvasDrawPath_fill_0_Handle(this.handle, path.handle);
6279   }
6280   void stroke()() {
6281     CanvasDrawPath_stroke__(this.handle);
6282   }
6283   void stroke()(scope ref Path2D path) {
6284     CanvasDrawPath_stroke__Handle(this.handle, path.handle);
6285   }
6286   void clip()(CanvasFillRule fillRule /* = "nonzero" */) {
6287     CanvasDrawPath_clip__CanvasFillRule(this.handle, fillRule);
6288   }
6289   void clip()() {
6290     CanvasDrawPath_clip_0_(this.handle);
6291   }
6292   void clip()(scope ref Path2D path, CanvasFillRule fillRule /* = "nonzero" */) {
6293     CanvasDrawPath_clip__Handle_CanvasFillRule(this.handle, path.handle, fillRule);
6294   }
6295   void clip()(scope ref Path2D path) {
6296     CanvasDrawPath_clip_0_Handle(this.handle, path.handle);
6297   }
6298   auto isPointInPath()(double x, double y, CanvasFillRule fillRule /* = "nonzero" */) {
6299     return CanvasDrawPath_isPointInPath__double_double_CanvasFillRule(this.handle, x, y, fillRule);
6300   }
6301   auto isPointInPath()(double x, double y) {
6302     return CanvasDrawPath_isPointInPath_0_double_double(this.handle, x, y);
6303   }
6304   auto isPointInPath()(scope ref Path2D path, double x, double y, CanvasFillRule fillRule /* = "nonzero" */) {
6305     return CanvasDrawPath_isPointInPath__Handle_double_double_CanvasFillRule(this.handle, path.handle, x, y, fillRule);
6306   }
6307   auto isPointInPath()(scope ref Path2D path, double x, double y) {
6308     return CanvasDrawPath_isPointInPath_0_Handle_double_double(this.handle, path.handle, x, y);
6309   }
6310   auto isPointInStroke()(double x, double y) {
6311     return CanvasDrawPath_isPointInStroke__double_double(this.handle, x, y);
6312   }
6313   auto isPointInStroke()(scope ref Path2D path, double x, double y) {
6314     return CanvasDrawPath_isPointInStroke__Handle_double_double(this.handle, path.handle, x, y);
6315   }
6316   void clearRect()(double x, double y, double w, double h) {
6317     CanvasRect_clearRect(this.handle, x, y, w, h);
6318   }
6319   void fillRect()(double x, double y, double w, double h) {
6320     CanvasRect_fillRect(this.handle, x, y, w, h);
6321   }
6322   void strokeRect()(double x, double y, double w, double h) {
6323     CanvasRect_strokeRect(this.handle, x, y, w, h);
6324   }
6325   void filter()(string filter) {
6326     CanvasFilters_filter_Set(this.handle, filter);
6327   }
6328   auto filter()() {
6329     return CanvasFilters_filter_Get(this.handle);
6330   }
6331   void shadowOffsetX()(double shadowOffsetX) {
6332     CanvasShadowStyles_shadowOffsetX_Set(this.handle, shadowOffsetX);
6333   }
6334   auto shadowOffsetX()() {
6335     return CanvasShadowStyles_shadowOffsetX_Get(this.handle);
6336   }
6337   void shadowOffsetY()(double shadowOffsetY) {
6338     CanvasShadowStyles_shadowOffsetY_Set(this.handle, shadowOffsetY);
6339   }
6340   auto shadowOffsetY()() {
6341     return CanvasShadowStyles_shadowOffsetY_Get(this.handle);
6342   }
6343   void shadowBlur()(double shadowBlur) {
6344     CanvasShadowStyles_shadowBlur_Set(this.handle, shadowBlur);
6345   }
6346   auto shadowBlur()() {
6347     return CanvasShadowStyles_shadowBlur_Get(this.handle);
6348   }
6349   void shadowColor()(string shadowColor) {
6350     CanvasShadowStyles_shadowColor_Set(this.handle, shadowColor);
6351   }
6352   auto shadowColor()() {
6353     return CanvasShadowStyles_shadowColor_Get(this.handle);
6354   }
6355   void strokeStyle()(scope ref SumType!(string, CanvasGradient, CanvasPattern) strokeStyle) {
6356     CanvasFillStrokeStyles_strokeStyle_Set(this.handle, strokeStyle);
6357   }
6358   auto strokeStyle()() {
6359     return CanvasFillStrokeStyles_strokeStyle_Get(this.handle);
6360   }
6361   void fillStyle()(scope ref SumType!(string, CanvasGradient, CanvasPattern) fillStyle) {
6362     CanvasFillStrokeStyles_fillStyle_Set(this.handle, fillStyle);
6363   }
6364   auto fillStyle()() {
6365     return CanvasFillStrokeStyles_fillStyle_Get(this.handle);
6366   }
6367   auto createLinearGradient()(double x0, double y0, double x1, double y1) {
6368     return CanvasGradient(CanvasFillStrokeStyles_createLinearGradient(this.handle, x0, y0, x1, y1));
6369   }
6370   auto createRadialGradient()(double x0, double y0, double r0, double x1, double y1, double r1) {
6371     return CanvasGradient(CanvasFillStrokeStyles_createRadialGradient(this.handle, x0, y0, r0, x1, y1, r1));
6372   }
6373   auto createPattern()(scope ref CanvasImageSource image, string repetition) {
6374     return CanvasFillStrokeStyles_createPattern(this.handle, image, repetition);
6375   }
6376   void globalAlpha()(double globalAlpha) {
6377     CanvasCompositing_globalAlpha_Set(this.handle, globalAlpha);
6378   }
6379   auto globalAlpha()() {
6380     return CanvasCompositing_globalAlpha_Get(this.handle);
6381   }
6382   void globalCompositeOperation()(string globalCompositeOperation) {
6383     CanvasCompositing_globalCompositeOperation_Set(this.handle, globalCompositeOperation);
6384   }
6385   auto globalCompositeOperation()() {
6386     return CanvasCompositing_globalCompositeOperation_Get(this.handle);
6387   }
6388   void scale()(double x, double y) {
6389     CanvasTransform_scale(this.handle, x, y);
6390   }
6391   void rotate()(double angle) {
6392     CanvasTransform_rotate(this.handle, angle);
6393   }
6394   void translate()(double x, double y) {
6395     CanvasTransform_translate(this.handle, x, y);
6396   }
6397   void transform()(double a, double b, double c, double d, double e, double f) {
6398     CanvasTransform_transform(this.handle, a, b, c, d, e, f);
6399   }
6400   auto getTransform()() {
6401     return DOMMatrix(CanvasTransform_getTransform(this.handle));
6402   }
6403   void setTransform()(double a, double b, double c, double d, double e, double f) {
6404     CanvasTransform_setTransform__double_double_double_double_double_double(this.handle, a, b, c, d, e, f);
6405   }
6406   void setTransform()(scope ref DOMMatrix2DInit transform) {
6407     CanvasTransform_setTransform__Handle(this.handle, transform.handle);
6408   }
6409   void setTransform()() {
6410     CanvasTransform_setTransform_0(this.handle);
6411   }
6412   void resetTransform()() {
6413     CanvasTransform_resetTransform(this.handle);
6414   }
6415   void save()() {
6416     CanvasState_save(this.handle);
6417   }
6418   void restore()() {
6419     CanvasState_restore(this.handle);
6420   }
6421   void imageSmoothingEnabled()(bool imageSmoothingEnabled) {
6422     CanvasImageSmoothing_imageSmoothingEnabled_Set(this.handle, imageSmoothingEnabled);
6423   }
6424   auto imageSmoothingEnabled()() {
6425     return CanvasImageSmoothing_imageSmoothingEnabled_Get(this.handle);
6426   }
6427   void imageSmoothingQuality()(ImageSmoothingQuality imageSmoothingQuality) {
6428     CanvasImageSmoothing_imageSmoothingQuality_Set(this.handle, imageSmoothingQuality);
6429   }
6430   auto imageSmoothingQuality()() {
6431     return CanvasImageSmoothing_imageSmoothingQuality_Get(this.handle);
6432   }
6433 }
6434 alias OffscreenRenderingContext = SumType!(OffscreenCanvasRenderingContext2D, WebGLRenderingContext, WebGL2RenderingContext);
6435 enum OffscreenRenderingContextId {
6436   _2d,
6437   webgl,
6438   webgl2
6439 }
6440 alias OnBeforeUnloadEventHandler = Optional!(OnBeforeUnloadEventHandlerNonNull);
6441 alias OnBeforeUnloadEventHandlerNonNull = Optional!(string) delegate(Event);
6442 alias OnErrorEventHandler = Optional!(OnErrorEventHandlerNonNull);
6443 alias OnErrorEventHandlerNonNull = Any delegate(SumType!(Event, string), string, uint, uint, Any);
6444 struct PageTransitionEvent {
6445   nothrow:
6446   spasm.bindings.dom.Event _parent;
6447   alias _parent this;
6448   this(Handle h) {
6449     _parent = .Event(h);
6450   }
6451   auto persisted()() {
6452     return PageTransitionEvent_persisted_Get(this._parent);
6453   }
6454 }
6455 struct PageTransitionEventInit {
6456   nothrow:
6457   spasm.bindings.dom.EventInit _parent;
6458   alias _parent this;
6459   this(Handle h) {
6460     _parent = .EventInit(h);
6461   }
6462   static auto create() {
6463     return PageTransitionEventInit(spasm_add__object());
6464   }
6465   void persisted()(bool persisted) {
6466     PageTransitionEventInit_persisted_Set(this._parent, persisted);
6467   }
6468   auto persisted()() {
6469     return PageTransitionEventInit_persisted_Get(this._parent);
6470   }
6471 }
6472 struct Path2D {
6473   nothrow:
6474   JsHandle handle;
6475   alias handle this;
6476   this(Handle h) {
6477     this.handle = JsHandle(h);
6478   }
6479   void addPath()(scope ref Path2D path, scope ref DOMMatrix2DInit transform) {
6480     Path2D_addPath(this.handle, path.handle, transform.handle);
6481   }
6482   void addPath()(scope ref Path2D path) {
6483     Path2D_addPath_0(this.handle, path.handle);
6484   }
6485   void closePath()() {
6486     CanvasPath_closePath(this.handle);
6487   }
6488   void moveTo()(double x, double y) {
6489     CanvasPath_moveTo(this.handle, x, y);
6490   }
6491   void lineTo()(double x, double y) {
6492     CanvasPath_lineTo(this.handle, x, y);
6493   }
6494   void quadraticCurveTo()(double cpx, double cpy, double x, double y) {
6495     CanvasPath_quadraticCurveTo(this.handle, cpx, cpy, x, y);
6496   }
6497   void bezierCurveTo()(double cp1x, double cp1y, double cp2x, double cp2y, double x, double y) {
6498     CanvasPath_bezierCurveTo(this.handle, cp1x, cp1y, cp2x, cp2y, x, y);
6499   }
6500   void arcTo()(double x1, double y1, double x2, double y2, double radius) {
6501     CanvasPath_arcTo(this.handle, x1, y1, x2, y2, radius);
6502   }
6503   void rect()(double x, double y, double w, double h) {
6504     CanvasPath_rect(this.handle, x, y, w, h);
6505   }
6506   void arc()(double x, double y, double radius, double startAngle, double endAngle, bool anticlockwise /* = false */) {
6507     CanvasPath_arc(this.handle, x, y, radius, startAngle, endAngle, anticlockwise);
6508   }
6509   void arc()(double x, double y, double radius, double startAngle, double endAngle) {
6510     CanvasPath_arc_0(this.handle, x, y, radius, startAngle, endAngle);
6511   }
6512   void ellipse()(double x, double y, double radiusX, double radiusY, double rotation, double startAngle, double endAngle, bool anticlockwise /* = false */) {
6513     CanvasPath_ellipse(this.handle, x, y, radiusX, radiusY, rotation, startAngle, endAngle, anticlockwise);
6514   }
6515   void ellipse()(double x, double y, double radiusX, double radiusY, double rotation, double startAngle, double endAngle) {
6516     CanvasPath_ellipse_0(this.handle, x, y, radiusX, radiusY, rotation, startAngle, endAngle);
6517   }
6518 }
6519 struct Plugin {
6520   nothrow:
6521   JsHandle handle;
6522   alias handle this;
6523   this(Handle h) {
6524     this.handle = JsHandle(h);
6525   }
6526   auto name()() {
6527     return Plugin_name_Get(this.handle);
6528   }
6529   auto description()() {
6530     return Plugin_description_Get(this.handle);
6531   }
6532   auto filename()() {
6533     return Plugin_filename_Get(this.handle);
6534   }
6535   auto length()() {
6536     return Plugin_length_Get(this.handle);
6537   }
6538   auto item()(uint index) {
6539     return Plugin_item_getter(this.handle, index);
6540   }
6541   auto namedItem()(string name) {
6542     return Plugin_namedItem_getter(this.handle, name);
6543   }
6544 }
6545 struct PluginArray {
6546   nothrow:
6547   JsHandle handle;
6548   alias handle this;
6549   this(Handle h) {
6550     this.handle = JsHandle(h);
6551   }
6552   void refresh()(bool reload /* = false */) {
6553     PluginArray_refresh(this.handle, reload);
6554   }
6555   void refresh()() {
6556     PluginArray_refresh_0(this.handle);
6557   }
6558   auto length()() {
6559     return PluginArray_length_Get(this.handle);
6560   }
6561   auto item()(uint index) {
6562     return PluginArray_item_getter(this.handle, index);
6563   }
6564   auto namedItem()(string name) {
6565     return PluginArray_namedItem_getter(this.handle, name);
6566   }
6567 }
6568 struct PopStateEvent {
6569   nothrow:
6570   spasm.bindings.dom.Event _parent;
6571   alias _parent this;
6572   this(Handle h) {
6573     _parent = .Event(h);
6574   }
6575   auto state()() {
6576     return Any(PopStateEvent_state_Get(this._parent));
6577   }
6578 }
6579 struct PopStateEventInit {
6580   nothrow:
6581   spasm.bindings.dom.EventInit _parent;
6582   alias _parent this;
6583   this(Handle h) {
6584     _parent = .EventInit(h);
6585   }
6586   static auto create() {
6587     return PopStateEventInit(spasm_add__object());
6588   }
6589   void state(T0)(scope auto ref T0 state) {
6590     Handle _handle_state = getOrCreateHandle(state);
6591     PopStateEventInit_state_Set(this._parent, _handle_state);
6592     dropHandle!(T0)(_handle_state);
6593   }
6594   auto state()() {
6595     return Any(PopStateEventInit_state_Get(this._parent));
6596   }
6597 }
6598 struct PostMessageOptions {
6599   nothrow:
6600   JsHandle handle;
6601   alias handle this;
6602   this(Handle h) {
6603     this.handle = JsHandle(h);
6604   }
6605   static auto create() {
6606     return PostMessageOptions(spasm_add__object());
6607   }
6608   void transfer()(scope ref Sequence!(JsObject) transfer) {
6609     PostMessageOptions_transfer_Set(this.handle, transfer.handle);
6610   }
6611   auto transfer()() {
6612     return Sequence!(JsObject)(PostMessageOptions_transfer_Get(this.handle));
6613   }
6614 }
6615 enum PremultiplyAlpha {
6616   none,
6617   premultiply,
6618   default_
6619 }
6620 struct PromiseRejectionEvent {
6621   nothrow:
6622   spasm.bindings.dom.Event _parent;
6623   alias _parent this;
6624   this(Handle h) {
6625     _parent = .Event(h);
6626   }
6627   auto promise()() {
6628     return Promise!(Any)(PromiseRejectionEvent_promise_Get(this._parent));
6629   }
6630   auto reason()() {
6631     return Any(PromiseRejectionEvent_reason_Get(this._parent));
6632   }
6633 }
6634 struct PromiseRejectionEventInit {
6635   nothrow:
6636   spasm.bindings.dom.EventInit _parent;
6637   alias _parent this;
6638   this(Handle h) {
6639     _parent = .EventInit(h);
6640   }
6641   static auto create() {
6642     return PromiseRejectionEventInit(spasm_add__object());
6643   }
6644   void promise()(scope ref Promise!(Any) promise) {
6645     PromiseRejectionEventInit_promise_Set(this._parent, promise.handle);
6646   }
6647   auto promise()() {
6648     return Promise!(Any)(PromiseRejectionEventInit_promise_Get(this._parent));
6649   }
6650   void reason(T0)(scope auto ref T0 reason) {
6651     Handle _handle_reason = getOrCreateHandle(reason);
6652     PromiseRejectionEventInit_reason_Set(this._parent, _handle_reason);
6653     dropHandle!(T0)(_handle_reason);
6654   }
6655   auto reason()() {
6656     return Any(PromiseRejectionEventInit_reason_Get(this._parent));
6657   }
6658 }
6659 struct RadioNodeList {
6660   nothrow:
6661   spasm.bindings.dom.NodeList _parent;
6662   alias _parent this;
6663   this(Handle h) {
6664     _parent = .NodeList(h);
6665   }
6666   void value()(string value) {
6667     RadioNodeList_value_Set(this._parent, value);
6668   }
6669   auto value()() {
6670     return RadioNodeList_value_Get(this._parent);
6671   }
6672 }
6673 alias RenderingContext = SumType!(CanvasRenderingContext2D, ImageBitmapRenderingContext, WebGLRenderingContext, WebGL2RenderingContext);
6674 enum ResizeQuality {
6675   pixelated,
6676   low,
6677   medium,
6678   high
6679 }
6680 enum ScrollRestoration {
6681   auto_,
6682   manual
6683 }
6684 enum SelectionMode {
6685   select,
6686   start,
6687   end,
6688   preserve
6689 }
6690 struct SharedWorker {
6691   nothrow:
6692   spasm.bindings.dom.EventTarget _parent;
6693   alias _parent this;
6694   this(Handle h) {
6695     _parent = .EventTarget(h);
6696   }
6697   auto port()() {
6698     return MessagePort(SharedWorker_port_Get(this._parent));
6699   }
6700   void onerror()(EventHandler onerror) {
6701     AbstractWorker_onerror_Set(this._parent, onerror);
6702   }
6703   auto onerror()() {
6704     return AbstractWorker_onerror_Get(this._parent);
6705   }
6706   auto FileReaderSync()() {
6707     return .FileReaderSync(SharedWorker_FileReaderSync(this._parent));
6708   }
6709   auto ProgressEvent()(string type, scope ref ProgressEventInit eventInitDict) {
6710     return .ProgressEvent(SharedWorker_ProgressEvent(this._parent, type, eventInitDict._parent));
6711   }
6712   auto XMLHttpRequest()() {
6713     return .XMLHttpRequest(SharedWorker_XMLHttpRequest(this._parent));
6714   }
6715 }
6716 struct SharedWorkerGlobalScope {
6717   nothrow:
6718   spasm.bindings.html.WorkerGlobalScope _parent;
6719   alias _parent this;
6720   this(Handle h) {
6721     _parent = .WorkerGlobalScope(h);
6722   }
6723   auto name()() {
6724     return SharedWorkerGlobalScope_name_Get(this._parent);
6725   }
6726   void close()() {
6727     SharedWorkerGlobalScope_close(this._parent);
6728   }
6729   void onconnect()(EventHandler onconnect) {
6730     SharedWorkerGlobalScope_onconnect_Set(this._parent, onconnect);
6731   }
6732   auto onconnect()() {
6733     return SharedWorkerGlobalScope_onconnect_Get(this._parent);
6734   }
6735 }
6736 struct Storage {
6737   nothrow:
6738   JsHandle handle;
6739   alias handle this;
6740   this(Handle h) {
6741     this.handle = JsHandle(h);
6742   }
6743   auto length()() {
6744     return Storage_length_Get(this.handle);
6745   }
6746   auto key()(uint index) {
6747     return Storage_key(this.handle, index);
6748   }
6749   auto getItem()(string key) {
6750     return Storage_getItem_getter(this.handle, key);
6751   }
6752   void setItem()(string key, string value) {
6753     Storage_setItem_setter(this.handle, key, value);
6754   }
6755   void removeItem()(string key) {
6756     Storage_removeItem(this.handle, key);
6757   }
6758   void clear()() {
6759     Storage_clear(this.handle);
6760   }
6761 }
6762 struct StorageEvent {
6763   nothrow:
6764   spasm.bindings.dom.Event _parent;
6765   alias _parent this;
6766   this(Handle h) {
6767     _parent = .Event(h);
6768   }
6769   auto key()() {
6770     return StorageEvent_key_Get(this._parent);
6771   }
6772   auto oldValue()() {
6773     return StorageEvent_oldValue_Get(this._parent);
6774   }
6775   auto newValue()() {
6776     return StorageEvent_newValue_Get(this._parent);
6777   }
6778   auto url()() {
6779     return StorageEvent_url_Get(this._parent);
6780   }
6781   auto storageArea()() {
6782     return StorageEvent_storageArea_Get(this._parent);
6783   }
6784   void initStorageEvent(T3, T4, T5, T7)(string type, bool bubbles /* = false */, bool cancelable /* = false */, scope auto ref Optional!(T3) key /* = no!(string) */, scope auto ref Optional!(T4) oldValue /* = no!(string) */, scope auto ref Optional!(T5) newValue /* = no!(string) */, string url /* = "" */, scope auto ref Optional!(T7) storageArea /* = no!(Storage) */) if (isTOrPointer!(T3, string) && isTOrPointer!(T4, string) && isTOrPointer!(T5, string) && isTOrPointer!(T7, Storage)) {
6785     StorageEvent_initStorageEvent(this._parent, type, bubbles, cancelable, !key.empty, key.front, !oldValue.empty, oldValue.front, !newValue.empty, newValue.front, url, !storageArea.empty, storageArea.front.handle);
6786   }
6787   void initStorageEvent(T3, T4, T5)(string type, bool bubbles /* = false */, bool cancelable /* = false */, scope auto ref Optional!(T3) key /* = no!(string) */, scope auto ref Optional!(T4) oldValue /* = no!(string) */, scope auto ref Optional!(T5) newValue /* = no!(string) */, string url /* = "" */) if (isTOrPointer!(T3, string) && isTOrPointer!(T4, string) && isTOrPointer!(T5, string)) {
6788     StorageEvent_initStorageEvent_0(this._parent, type, bubbles, cancelable, !key.empty, key.front, !oldValue.empty, oldValue.front, !newValue.empty, newValue.front, url);
6789   }
6790   void initStorageEvent(T3, T4, T5)(string type, bool bubbles /* = false */, bool cancelable /* = false */, scope auto ref Optional!(T3) key /* = no!(string) */, scope auto ref Optional!(T4) oldValue /* = no!(string) */, scope auto ref Optional!(T5) newValue /* = no!(string) */) if (isTOrPointer!(T3, string) && isTOrPointer!(T4, string) && isTOrPointer!(T5, string)) {
6791     StorageEvent_initStorageEvent_1(this._parent, type, bubbles, cancelable, !key.empty, key.front, !oldValue.empty, oldValue.front, !newValue.empty, newValue.front);
6792   }
6793   void initStorageEvent(T3, T4)(string type, bool bubbles /* = false */, bool cancelable /* = false */, scope auto ref Optional!(T3) key /* = no!(string) */, scope auto ref Optional!(T4) oldValue /* = no!(string) */) if (isTOrPointer!(T3, string) && isTOrPointer!(T4, string)) {
6794     StorageEvent_initStorageEvent_2(this._parent, type, bubbles, cancelable, !key.empty, key.front, !oldValue.empty, oldValue.front);
6795   }
6796   void initStorageEvent(T3)(string type, bool bubbles /* = false */, bool cancelable /* = false */, scope auto ref Optional!(T3) key /* = no!(string) */) if (isTOrPointer!(T3, string)) {
6797     StorageEvent_initStorageEvent_3(this._parent, type, bubbles, cancelable, !key.empty, key.front);
6798   }
6799   void initStorageEvent()(string type, bool bubbles /* = false */, bool cancelable /* = false */) {
6800     StorageEvent_initStorageEvent_4(this._parent, type, bubbles, cancelable);
6801   }
6802   void initStorageEvent()(string type, bool bubbles /* = false */) {
6803     StorageEvent_initStorageEvent_5(this._parent, type, bubbles);
6804   }
6805   void initStorageEvent()(string type) {
6806     StorageEvent_initStorageEvent_6(this._parent, type);
6807   }
6808 }
6809 struct StorageEventInit {
6810   nothrow:
6811   spasm.bindings.dom.EventInit _parent;
6812   alias _parent this;
6813   this(Handle h) {
6814     _parent = .EventInit(h);
6815   }
6816   static auto create() {
6817     return StorageEventInit(spasm_add__object());
6818   }
6819   void key(T0)(scope auto ref Optional!(T0) key) if (isTOrPointer!(T0, string)) {
6820     StorageEventInit_key_Set(this._parent, !key.empty, key.front);
6821   }
6822   auto key()() {
6823     return StorageEventInit_key_Get(this._parent);
6824   }
6825   void oldValue(T0)(scope auto ref Optional!(T0) oldValue) if (isTOrPointer!(T0, string)) {
6826     StorageEventInit_oldValue_Set(this._parent, !oldValue.empty, oldValue.front);
6827   }
6828   auto oldValue()() {
6829     return StorageEventInit_oldValue_Get(this._parent);
6830   }
6831   void newValue(T0)(scope auto ref Optional!(T0) newValue) if (isTOrPointer!(T0, string)) {
6832     StorageEventInit_newValue_Set(this._parent, !newValue.empty, newValue.front);
6833   }
6834   auto newValue()() {
6835     return StorageEventInit_newValue_Get(this._parent);
6836   }
6837   void url()(string url) {
6838     StorageEventInit_url_Set(this._parent, url);
6839   }
6840   auto url()() {
6841     return StorageEventInit_url_Get(this._parent);
6842   }
6843   void storageArea(T0)(scope auto ref Optional!(T0) storageArea) if (isTOrPointer!(T0, Storage)) {
6844     StorageEventInit_storageArea_Set(this._parent, !storageArea.empty, storageArea.front.handle);
6845   }
6846   auto storageArea()() {
6847     return StorageEventInit_storageArea_Get(this._parent);
6848   }
6849 }
6850 struct TextMetrics {
6851   nothrow:
6852   JsHandle handle;
6853   alias handle this;
6854   this(Handle h) {
6855     this.handle = JsHandle(h);
6856   }
6857   auto width()() {
6858     return TextMetrics_width_Get(this.handle);
6859   }
6860   auto actualBoundingBoxLeft()() {
6861     return TextMetrics_actualBoundingBoxLeft_Get(this.handle);
6862   }
6863   auto actualBoundingBoxRight()() {
6864     return TextMetrics_actualBoundingBoxRight_Get(this.handle);
6865   }
6866   auto fontBoundingBoxAscent()() {
6867     return TextMetrics_fontBoundingBoxAscent_Get(this.handle);
6868   }
6869   auto fontBoundingBoxDescent()() {
6870     return TextMetrics_fontBoundingBoxDescent_Get(this.handle);
6871   }
6872   auto actualBoundingBoxAscent()() {
6873     return TextMetrics_actualBoundingBoxAscent_Get(this.handle);
6874   }
6875   auto actualBoundingBoxDescent()() {
6876     return TextMetrics_actualBoundingBoxDescent_Get(this.handle);
6877   }
6878   auto emHeightAscent()() {
6879     return TextMetrics_emHeightAscent_Get(this.handle);
6880   }
6881   auto emHeightDescent()() {
6882     return TextMetrics_emHeightDescent_Get(this.handle);
6883   }
6884   auto hangingBaseline()() {
6885     return TextMetrics_hangingBaseline_Get(this.handle);
6886   }
6887   auto alphabeticBaseline()() {
6888     return TextMetrics_alphabeticBaseline_Get(this.handle);
6889   }
6890   auto ideographicBaseline()() {
6891     return TextMetrics_ideographicBaseline_Get(this.handle);
6892   }
6893 }
6894 struct TextTrack {
6895   nothrow:
6896   spasm.bindings.dom.EventTarget _parent;
6897   alias _parent this;
6898   this(Handle h) {
6899     _parent = .EventTarget(h);
6900   }
6901   auto kind()() {
6902     return TextTrack_kind_Get(this._parent);
6903   }
6904   auto label()() {
6905     return TextTrack_label_Get(this._parent);
6906   }
6907   auto language()() {
6908     return TextTrack_language_Get(this._parent);
6909   }
6910   auto id()() {
6911     return TextTrack_id_Get(this._parent);
6912   }
6913   auto inBandMetadataTrackDispatchType()() {
6914     return TextTrack_inBandMetadataTrackDispatchType_Get(this._parent);
6915   }
6916   void mode()(TextTrackMode mode) {
6917     TextTrack_mode_Set(this._parent, mode);
6918   }
6919   auto mode()() {
6920     return TextTrack_mode_Get(this._parent);
6921   }
6922   auto cues()() {
6923     return TextTrack_cues_Get(this._parent);
6924   }
6925   auto activeCues()() {
6926     return TextTrack_activeCues_Get(this._parent);
6927   }
6928   void addCue()(scope ref TextTrackCue cue) {
6929     TextTrack_addCue(this._parent, cue._parent);
6930   }
6931   void removeCue()(scope ref TextTrackCue cue) {
6932     TextTrack_removeCue(this._parent, cue._parent);
6933   }
6934   void oncuechange()(EventHandler oncuechange) {
6935     TextTrack_oncuechange_Set(this._parent, oncuechange);
6936   }
6937   auto oncuechange()() {
6938     return TextTrack_oncuechange_Get(this._parent);
6939   }
6940   auto sourceBuffer()() {
6941     return TextTrack_sourceBuffer_Get(this._parent);
6942   }
6943 }
6944 struct TextTrackCue {
6945   nothrow:
6946   spasm.bindings.dom.EventTarget _parent;
6947   alias _parent this;
6948   this(Handle h) {
6949     _parent = .EventTarget(h);
6950   }
6951   auto track()() {
6952     return TextTrackCue_track_Get(this._parent);
6953   }
6954   void id()(string id) {
6955     TextTrackCue_id_Set(this._parent, id);
6956   }
6957   auto id()() {
6958     return TextTrackCue_id_Get(this._parent);
6959   }
6960   void startTime()(double startTime) {
6961     TextTrackCue_startTime_Set(this._parent, startTime);
6962   }
6963   auto startTime()() {
6964     return TextTrackCue_startTime_Get(this._parent);
6965   }
6966   void endTime()(double endTime) {
6967     TextTrackCue_endTime_Set(this._parent, endTime);
6968   }
6969   auto endTime()() {
6970     return TextTrackCue_endTime_Get(this._parent);
6971   }
6972   void pauseOnExit()(bool pauseOnExit) {
6973     TextTrackCue_pauseOnExit_Set(this._parent, pauseOnExit);
6974   }
6975   auto pauseOnExit()() {
6976     return TextTrackCue_pauseOnExit_Get(this._parent);
6977   }
6978   void onenter()(EventHandler onenter) {
6979     TextTrackCue_onenter_Set(this._parent, onenter);
6980   }
6981   auto onenter()() {
6982     return TextTrackCue_onenter_Get(this._parent);
6983   }
6984   void onexit()(EventHandler onexit) {
6985     TextTrackCue_onexit_Set(this._parent, onexit);
6986   }
6987   auto onexit()() {
6988     return TextTrackCue_onexit_Get(this._parent);
6989   }
6990 }
6991 struct TextTrackCueList {
6992   nothrow:
6993   JsHandle handle;
6994   alias handle this;
6995   this(Handle h) {
6996     this.handle = JsHandle(h);
6997   }
6998   auto length()() {
6999     return TextTrackCueList_length_Get(this.handle);
7000   }
7001   auto opIndex()(uint index) {
7002     return TextTrackCue(TextTrackCueList_getter__uint(this.handle, index));
7003   }
7004   auto opDispatch(uint index)() {
7005     return TextTrackCue(TextTrackCueList_getter__uint(this.handle, index));
7006   }
7007   auto getCueById()(string id) {
7008     return TextTrackCueList_getCueById(this.handle, id);
7009   }
7010 }
7011 enum TextTrackKind {
7012   subtitles,
7013   captions,
7014   descriptions,
7015   chapters,
7016   metadata
7017 }
7018 struct TextTrackList {
7019   nothrow:
7020   spasm.bindings.dom.EventTarget _parent;
7021   alias _parent this;
7022   this(Handle h) {
7023     _parent = .EventTarget(h);
7024   }
7025   auto length()() {
7026     return TextTrackList_length_Get(this._parent);
7027   }
7028   auto opIndex()(uint index) {
7029     return TextTrack(TextTrackList_getter__uint(this._parent, index));
7030   }
7031   auto opDispatch(uint index)() {
7032     return TextTrack(TextTrackList_getter__uint(this._parent, index));
7033   }
7034   auto getTrackById()(string id) {
7035     return TextTrackList_getTrackById(this._parent, id);
7036   }
7037   void onchange()(EventHandler onchange) {
7038     TextTrackList_onchange_Set(this._parent, onchange);
7039   }
7040   auto onchange()() {
7041     return TextTrackList_onchange_Get(this._parent);
7042   }
7043   void onaddtrack()(EventHandler onaddtrack) {
7044     TextTrackList_onaddtrack_Set(this._parent, onaddtrack);
7045   }
7046   auto onaddtrack()() {
7047     return TextTrackList_onaddtrack_Get(this._parent);
7048   }
7049   void onremovetrack()(EventHandler onremovetrack) {
7050     TextTrackList_onremovetrack_Set(this._parent, onremovetrack);
7051   }
7052   auto onremovetrack()() {
7053     return TextTrackList_onremovetrack_Get(this._parent);
7054   }
7055 }
7056 enum TextTrackMode {
7057   disabled,
7058   hidden,
7059   showing
7060 }
7061 struct TimeRanges {
7062   nothrow:
7063   JsHandle handle;
7064   alias handle this;
7065   this(Handle h) {
7066     this.handle = JsHandle(h);
7067   }
7068   auto length()() {
7069     return TimeRanges_length_Get(this.handle);
7070   }
7071   auto start()(uint index) {
7072     return TimeRanges_start(this.handle, index);
7073   }
7074   auto end()(uint index) {
7075     return TimeRanges_end(this.handle, index);
7076   }
7077 }
7078 alias TimerHandler = SumType!(string, Function);
7079 struct TrackEvent {
7080   nothrow:
7081   spasm.bindings.dom.Event _parent;
7082   alias _parent this;
7083   this(Handle h) {
7084     _parent = .Event(h);
7085   }
7086   auto track()() {
7087     return TrackEvent_track_Get(this._parent);
7088   }
7089 }
7090 struct TrackEventInit {
7091   nothrow:
7092   spasm.bindings.dom.EventInit _parent;
7093   alias _parent this;
7094   this(Handle h) {
7095     _parent = .EventInit(h);
7096   }
7097   static auto create() {
7098     return TrackEventInit(spasm_add__object());
7099   }
7100   void track(T0)(scope auto ref Optional!(T0) track) if (isTOrPointer!(T0, SumType!(VideoTrack, AudioTrack, TextTrack))) {
7101     TrackEventInit_track_Set(this._parent, !track.empty, *track.frontRef);
7102   }
7103   auto track()() {
7104     return TrackEventInit_track_Get(this._parent);
7105   }
7106 }
7107 struct ValidityState {
7108   nothrow:
7109   JsHandle handle;
7110   alias handle this;
7111   this(Handle h) {
7112     this.handle = JsHandle(h);
7113   }
7114   auto valueMissing()() {
7115     return ValidityState_valueMissing_Get(this.handle);
7116   }
7117   auto typeMismatch()() {
7118     return ValidityState_typeMismatch_Get(this.handle);
7119   }
7120   auto patternMismatch()() {
7121     return ValidityState_patternMismatch_Get(this.handle);
7122   }
7123   auto tooLong()() {
7124     return ValidityState_tooLong_Get(this.handle);
7125   }
7126   auto tooShort()() {
7127     return ValidityState_tooShort_Get(this.handle);
7128   }
7129   auto rangeUnderflow()() {
7130     return ValidityState_rangeUnderflow_Get(this.handle);
7131   }
7132   auto rangeOverflow()() {
7133     return ValidityState_rangeOverflow_Get(this.handle);
7134   }
7135   auto stepMismatch()() {
7136     return ValidityState_stepMismatch_Get(this.handle);
7137   }
7138   auto badInput()() {
7139     return ValidityState_badInput_Get(this.handle);
7140   }
7141   auto customError()() {
7142     return ValidityState_customError_Get(this.handle);
7143   }
7144   auto valid()() {
7145     return ValidityState_valid_Get(this.handle);
7146   }
7147 }
7148 struct VideoTrack {
7149   nothrow:
7150   JsHandle handle;
7151   alias handle this;
7152   this(Handle h) {
7153     this.handle = JsHandle(h);
7154   }
7155   auto id()() {
7156     return VideoTrack_id_Get(this.handle);
7157   }
7158   auto kind()() {
7159     return VideoTrack_kind_Get(this.handle);
7160   }
7161   auto label()() {
7162     return VideoTrack_label_Get(this.handle);
7163   }
7164   auto language()() {
7165     return VideoTrack_language_Get(this.handle);
7166   }
7167   void selected()(bool selected) {
7168     VideoTrack_selected_Set(this.handle, selected);
7169   }
7170   auto selected()() {
7171     return VideoTrack_selected_Get(this.handle);
7172   }
7173   auto sourceBuffer()() {
7174     return VideoTrack_sourceBuffer_Get(this.handle);
7175   }
7176 }
7177 struct VideoTrackList {
7178   nothrow:
7179   spasm.bindings.dom.EventTarget _parent;
7180   alias _parent this;
7181   this(Handle h) {
7182     _parent = .EventTarget(h);
7183   }
7184   auto length()() {
7185     return VideoTrackList_length_Get(this._parent);
7186   }
7187   auto opIndex()(uint index) {
7188     return VideoTrack(VideoTrackList_getter__uint(this._parent, index));
7189   }
7190   auto opDispatch(uint index)() {
7191     return VideoTrack(VideoTrackList_getter__uint(this._parent, index));
7192   }
7193   auto getTrackById()(string id) {
7194     return VideoTrackList_getTrackById(this._parent, id);
7195   }
7196   auto selectedIndex()() {
7197     return VideoTrackList_selectedIndex_Get(this._parent);
7198   }
7199   void onchange()(EventHandler onchange) {
7200     VideoTrackList_onchange_Set(this._parent, onchange);
7201   }
7202   auto onchange()() {
7203     return VideoTrackList_onchange_Get(this._parent);
7204   }
7205   void onaddtrack()(EventHandler onaddtrack) {
7206     VideoTrackList_onaddtrack_Set(this._parent, onaddtrack);
7207   }
7208   auto onaddtrack()() {
7209     return VideoTrackList_onaddtrack_Get(this._parent);
7210   }
7211   void onremovetrack()(EventHandler onremovetrack) {
7212     VideoTrackList_onremovetrack_Set(this._parent, onremovetrack);
7213   }
7214   auto onremovetrack()() {
7215     return VideoTrackList_onremovetrack_Get(this._parent);
7216   }
7217 }
7218 struct WebSocket {
7219   nothrow:
7220   spasm.bindings.dom.EventTarget _parent;
7221   alias _parent this;
7222   this(Handle h) {
7223     _parent = .EventTarget(h);
7224   }
7225   auto url()() {
7226     return WebSocket_url_Get(this._parent);
7227   }
7228   enum ushort CONNECTING = 0;
7229   enum ushort OPEN = 1;
7230   enum ushort CLOSING = 2;
7231   enum ushort CLOSED = 3;
7232   auto readyState()() {
7233     return WebSocket_readyState_Get(this._parent);
7234   }
7235   auto bufferedAmount()() {
7236     return WebSocket_bufferedAmount_Get(this._parent);
7237   }
7238   void onopen()(EventHandler onopen) {
7239     WebSocket_onopen_Set(this._parent, onopen);
7240   }
7241   auto onopen()() {
7242     return WebSocket_onopen_Get(this._parent);
7243   }
7244   void onerror()(EventHandler onerror) {
7245     WebSocket_onerror_Set(this._parent, onerror);
7246   }
7247   auto onerror()() {
7248     return WebSocket_onerror_Get(this._parent);
7249   }
7250   void onclose()(EventHandler onclose) {
7251     WebSocket_onclose_Set(this._parent, onclose);
7252   }
7253   auto onclose()() {
7254     return WebSocket_onclose_Get(this._parent);
7255   }
7256   auto extensions()() {
7257     return WebSocket_extensions_Get(this._parent);
7258   }
7259   auto protocol()() {
7260     return WebSocket_protocol_Get(this._parent);
7261   }
7262   void close()(ushort code, string reason) {
7263     WebSocket_close(this._parent, code, reason);
7264   }
7265   void close()(ushort code) {
7266     WebSocket_close_0(this._parent, code);
7267   }
7268   void close()() {
7269     WebSocket_close_1(this._parent);
7270   }
7271   void onmessage()(EventHandler onmessage) {
7272     WebSocket_onmessage_Set(this._parent, onmessage);
7273   }
7274   auto onmessage()() {
7275     return WebSocket_onmessage_Get(this._parent);
7276   }
7277   void binaryType()(BinaryType binaryType) {
7278     WebSocket_binaryType_Set(this._parent, binaryType);
7279   }
7280   auto binaryType()() {
7281     return WebSocket_binaryType_Get(this._parent);
7282   }
7283   void send()(string data) {
7284     WebSocket_send__string(this._parent, data);
7285   }
7286   void send()(scope ref Blob data) {
7287     WebSocket_send__Handle(this._parent, data.handle);
7288   }
7289   void send()(scope ref ArrayBuffer data) {
7290     WebSocket_send__Handle(this._parent, data.handle);
7291   }
7292   void send()(scope ref ArrayBufferView data) {
7293     WebSocket_send__ArrayBufferView(this._parent, data);
7294   }
7295 }
7296 struct Window {
7297   nothrow:
7298   spasm.bindings.dom.EventTarget _parent;
7299   alias _parent this;
7300   this(Handle h) {
7301     _parent = .EventTarget(h);
7302   }
7303   auto window()() {
7304     return Window(Window_window_Get(this._parent));
7305   }
7306   auto self()() {
7307     return Window(Window_self_Get(this._parent));
7308   }
7309   auto document()() {
7310     return Document(Window_document_Get(this._parent));
7311   }
7312   void name()(string name) {
7313     Window_name_Set(this._parent, name);
7314   }
7315   auto name()() {
7316     return Window_name_Get(this._parent);
7317   }
7318   auto location()() {
7319     return Location(Window_location_Get(this._parent));
7320   }
7321   auto history()() {
7322     return History(Window_history_Get(this._parent));
7323   }
7324   auto customElements()() {
7325     return CustomElementRegistry(Window_customElements_Get(this._parent));
7326   }
7327   auto locationbar()() {
7328     return BarProp(Window_locationbar_Get(this._parent));
7329   }
7330   auto menubar()() {
7331     return BarProp(Window_menubar_Get(this._parent));
7332   }
7333   auto personalbar()() {
7334     return BarProp(Window_personalbar_Get(this._parent));
7335   }
7336   auto scrollbars()() {
7337     return BarProp(Window_scrollbars_Get(this._parent));
7338   }
7339   auto statusbar()() {
7340     return BarProp(Window_statusbar_Get(this._parent));
7341   }
7342   auto toolbar()() {
7343     return BarProp(Window_toolbar_Get(this._parent));
7344   }
7345   void status()(string status) {
7346     Window_status_Set(this._parent, status);
7347   }
7348   auto status()() {
7349     return Window_status_Get(this._parent);
7350   }
7351   void close()() {
7352     Window_close(this._parent);
7353   }
7354   auto closed()() {
7355     return Window_closed_Get(this._parent);
7356   }
7357   void stop()() {
7358     Window_stop(this._parent);
7359   }
7360   void focus()() {
7361     Window_focus(this._parent);
7362   }
7363   void blur()() {
7364     Window_blur(this._parent);
7365   }
7366   auto frames()() {
7367     return Window(Window_frames_Get(this._parent));
7368   }
7369   auto length()() {
7370     return Window_length_Get(this._parent);
7371   }
7372   auto top()() {
7373     return Window_top_Get(this._parent);
7374   }
7375   void opener()(scope ref Any opener) {
7376     Window_opener_Set(this._parent, opener.handle);
7377   }
7378   auto opener()() {
7379     return Any(Window_opener_Get(this._parent));
7380   }
7381   auto parent()() {
7382     return Window_parent_Get(this._parent);
7383   }
7384   auto frameElement()() {
7385     return Window_frameElement_Get(this._parent);
7386   }
7387   auto open()(string url /* = "about:blank" */, string target /* = "_blank" */, string features /* = "" */) {
7388     return Window_open(this._parent, url, target, features);
7389   }
7390   auto open()(string url /* = "about:blank" */, string target /* = "_blank" */) {
7391     return Window_open_0(this._parent, url, target);
7392   }
7393   auto open()(string url /* = "about:blank" */) {
7394     return Window_open_1(this._parent, url);
7395   }
7396   auto open()() {
7397     return Window_open_2(this._parent);
7398   }
7399   auto opIndex()(string name) {
7400     return JsObject(Window_getter__string(this._parent, name));
7401   }
7402   auto opDispatch(string name)() {
7403     return JsObject(Window_getter__string(this._parent, name));
7404   }
7405   auto navigator()() {
7406     return Navigator(Window_navigator_Get(this._parent));
7407   }
7408   auto applicationCache()() {
7409     return ApplicationCache(Window_applicationCache_Get(this._parent));
7410   }
7411   void alert()() {
7412     Window_alert__(this._parent);
7413   }
7414   void alert()(string message) {
7415     Window_alert__string(this._parent, message);
7416   }
7417   auto confirm()(string message /* = "" */) {
7418     return Window_confirm(this._parent, message);
7419   }
7420   auto confirm()() {
7421     return Window_confirm_0(this._parent);
7422   }
7423   auto prompt()(string message /* = "" */, string default_ /* = "" */) {
7424     return Window_prompt(this._parent, message, default_);
7425   }
7426   auto prompt()(string message /* = "" */) {
7427     return Window_prompt_0(this._parent, message);
7428   }
7429   auto prompt()() {
7430     return Window_prompt_1(this._parent);
7431   }
7432   void print()() {
7433     Window_print(this._parent);
7434   }
7435   void postMessage(T0)(scope auto ref T0 message, string targetOrigin, scope ref Sequence!(JsObject) transfer /* = [] */) {
7436     Handle _handle_message = getOrCreateHandle(message);
7437     Window_postMessage__Handle_string_sequence(this._parent, _handle_message, targetOrigin, transfer.handle);
7438     dropHandle!(T0)(_handle_message);
7439   }
7440   void postMessage(T0)(scope auto ref T0 message, string targetOrigin) {
7441     Handle _handle_message = getOrCreateHandle(message);
7442     Window_postMessage_0_Handle_string(this._parent, _handle_message, targetOrigin);
7443     dropHandle!(T0)(_handle_message);
7444   }
7445   void postMessage(T0)(scope auto ref T0 message, scope ref WindowPostMessageOptions options) {
7446     Handle _handle_message = getOrCreateHandle(message);
7447     Window_postMessage__Handle_Handle(this._parent, _handle_message, options._parent);
7448     dropHandle!(T0)(_handle_message);
7449   }
7450   void postMessage(T0)(scope auto ref T0 message) {
7451     Handle _handle_message = getOrCreateHandle(message);
7452     Window_postMessage_0_Handle(this._parent, _handle_message);
7453     dropHandle!(T0)(_handle_message);
7454   }
7455   auto matchMedia()(string query) {
7456     return MediaQueryList(Window_matchMedia(this._parent, query));
7457   }
7458   auto screen()() {
7459     return Screen(Window_screen_Get(this._parent));
7460   }
7461   void moveTo()(int x, int y) {
7462     Window_moveTo(this._parent, x, y);
7463   }
7464   void moveBy()(int x, int y) {
7465     Window_moveBy(this._parent, x, y);
7466   }
7467   void resizeTo()(int x, int y) {
7468     Window_resizeTo(this._parent, x, y);
7469   }
7470   void resizeBy()(int x, int y) {
7471     Window_resizeBy(this._parent, x, y);
7472   }
7473   auto innerWidth()() {
7474     return Window_innerWidth_Get(this._parent);
7475   }
7476   auto innerHeight()() {
7477     return Window_innerHeight_Get(this._parent);
7478   }
7479   auto scrollX()() {
7480     return Window_scrollX_Get(this._parent);
7481   }
7482   auto pageXOffset()() {
7483     return Window_pageXOffset_Get(this._parent);
7484   }
7485   auto scrollY()() {
7486     return Window_scrollY_Get(this._parent);
7487   }
7488   auto pageYOffset()() {
7489     return Window_pageYOffset_Get(this._parent);
7490   }
7491   void scroll()(scope ref ScrollToOptions options) {
7492     Window_scroll__Handle(this._parent, options._parent);
7493   }
7494   void scroll()() {
7495     Window_scroll_0(this._parent);
7496   }
7497   void scroll()(double x, double y) {
7498     Window_scroll__double_double(this._parent, x, y);
7499   }
7500   void scrollTo()(scope ref ScrollToOptions options) {
7501     Window_scrollTo__Handle(this._parent, options._parent);
7502   }
7503   void scrollTo()() {
7504     Window_scrollTo_0(this._parent);
7505   }
7506   void scrollTo()(double x, double y) {
7507     Window_scrollTo__double_double(this._parent, x, y);
7508   }
7509   void scrollBy()(scope ref ScrollToOptions options) {
7510     Window_scrollBy__Handle(this._parent, options._parent);
7511   }
7512   void scrollBy()() {
7513     Window_scrollBy_0(this._parent);
7514   }
7515   void scrollBy()(double x, double y) {
7516     Window_scrollBy__double_double(this._parent, x, y);
7517   }
7518   auto screenX()() {
7519     return Window_screenX_Get(this._parent);
7520   }
7521   auto screenLeft()() {
7522     return Window_screenLeft_Get(this._parent);
7523   }
7524   auto screenY()() {
7525     return Window_screenY_Get(this._parent);
7526   }
7527   auto screenTop()() {
7528     return Window_screenTop_Get(this._parent);
7529   }
7530   auto outerWidth()() {
7531     return Window_outerWidth_Get(this._parent);
7532   }
7533   auto outerHeight()() {
7534     return Window_outerHeight_Get(this._parent);
7535   }
7536   auto devicePixelRatio()() {
7537     return Window_devicePixelRatio_Get(this._parent);
7538   }
7539   auto event()() {
7540     return Any(Window_event_Get(this._parent));
7541   }
7542   void captureEvents()() {
7543     Window_captureEvents(this._parent);
7544   }
7545   void releaseEvents()() {
7546     Window_releaseEvents(this._parent);
7547   }
7548   auto external()() {
7549     return External(Window_external_Get(this._parent));
7550   }
7551   auto getComputedStyle(T1)(scope ref Element elt, scope auto ref Optional!(T1) pseudoElt) if (isTOrPointer!(T1, string)) {
7552     return CSSStyleDeclaration(Window_getComputedStyle(this._parent, elt._parent, !pseudoElt.empty, pseudoElt.front));
7553   }
7554   auto getComputedStyle()(scope ref Element elt) {
7555     return CSSStyleDeclaration(Window_getComputedStyle_0(this._parent, elt._parent));
7556   }
7557   auto orientation()() {
7558     return Window_orientation_Get(this._parent);
7559   }
7560   void onorientationchange()(EventHandler onorientationchange) {
7561     Window_onorientationchange_Set(this._parent, onorientationchange);
7562   }
7563   auto onorientationchange()() {
7564     return Window_onorientationchange_Get(this._parent);
7565   }
7566   auto localStorage()() {
7567     return Storage(WindowLocalStorage_localStorage_Get(this._parent));
7568   }
7569   auto sessionStorage()() {
7570     return Storage(WindowSessionStorage_sessionStorage_Get(this._parent));
7571   }
7572   auto requestAnimationFrame()(FrameRequestCallback callback) {
7573     return AnimationFrameProvider_requestAnimationFrame(this._parent, callback);
7574   }
7575   void cancelAnimationFrame()(uint handle) {
7576     AnimationFrameProvider_cancelAnimationFrame(this._parent, handle);
7577   }
7578   auto origin()() {
7579     return WindowOrWorkerGlobalScope_origin_Get(this._parent);
7580   }
7581   auto btoa()(string data) {
7582     return WindowOrWorkerGlobalScope_btoa(this._parent, data);
7583   }
7584   auto atob()(string data) {
7585     return WindowOrWorkerGlobalScope_atob(this._parent, data);
7586   }
7587   auto setTimeout(T2)(scope ref TimerHandler handler, int timeout /* = 0 */, scope auto ref T2 arguments) {
7588     Handle _handle_arguments = getOrCreateHandle(arguments);
7589     auto result = WindowOrWorkerGlobalScope_setTimeout(this._parent, handler, timeout, _handle_arguments);
7590     dropHandle!(T2)(_handle_arguments);
7591     return result;
7592   }
7593   void clearTimeout()(int handle /* = 0 */) {
7594     WindowOrWorkerGlobalScope_clearTimeout(this._parent, handle);
7595   }
7596   void clearTimeout()() {
7597     WindowOrWorkerGlobalScope_clearTimeout_0(this._parent);
7598   }
7599   auto setInterval(T2)(scope ref TimerHandler handler, int timeout /* = 0 */, scope auto ref T2 arguments) {
7600     Handle _handle_arguments = getOrCreateHandle(arguments);
7601     auto result = WindowOrWorkerGlobalScope_setInterval(this._parent, handler, timeout, _handle_arguments);
7602     dropHandle!(T2)(_handle_arguments);
7603     return result;
7604   }
7605   void clearInterval()(int handle /* = 0 */) {
7606     WindowOrWorkerGlobalScope_clearInterval(this._parent, handle);
7607   }
7608   void clearInterval()() {
7609     WindowOrWorkerGlobalScope_clearInterval_0(this._parent);
7610   }
7611   void queueMicrotask()(VoidFunction callback) {
7612     WindowOrWorkerGlobalScope_queueMicrotask(this._parent, callback);
7613   }
7614   auto createImageBitmap()(scope ref ImageBitmapSource image, scope ref ImageBitmapOptions options) {
7615     return Promise!(ImageBitmap)(WindowOrWorkerGlobalScope_createImageBitmap__ImageBitmapSource_Handle(this._parent, image, options.handle));
7616   }
7617   auto createImageBitmap()(scope ref ImageBitmapSource image) {
7618     return Promise!(ImageBitmap)(WindowOrWorkerGlobalScope_createImageBitmap_0_ImageBitmapSource(this._parent, image));
7619   }
7620   auto createImageBitmap()(scope ref ImageBitmapSource image, int sx, int sy, int sw, int sh, scope ref ImageBitmapOptions options) {
7621     return Promise!(ImageBitmap)(WindowOrWorkerGlobalScope_createImageBitmap__ImageBitmapSource_int_int_int_int_Handle(this._parent, image, sx, sy, sw, sh, options.handle));
7622   }
7623   auto createImageBitmap()(scope ref ImageBitmapSource image, int sx, int sy, int sw, int sh) {
7624     return Promise!(ImageBitmap)(WindowOrWorkerGlobalScope_createImageBitmap_0_ImageBitmapSource_int_int_int_int(this._parent, image, sx, sy, sw, sh));
7625   }
7626   auto fetch()(scope ref RequestInfo input, scope ref RequestInit init) {
7627     return Promise!(.Response)(WindowOrWorkerGlobalScope_fetch(this._parent, input, init.handle));
7628   }
7629   auto fetch()(scope ref RequestInfo input) {
7630     return Promise!(.Response)(WindowOrWorkerGlobalScope_fetch_0(this._parent, input));
7631   }
7632   auto indexedDB()() {
7633     return IDBFactory(WindowOrWorkerGlobalScope_indexedDB_Get(this._parent));
7634   }
7635   auto caches()() {
7636     return CacheStorage(WindowOrWorkerGlobalScope_caches_Get(this._parent));
7637   }
7638   void onabort()(EventHandler onabort) {
7639     GlobalEventHandlers_onabort_Set(this._parent, onabort);
7640   }
7641   auto onabort()() {
7642     return GlobalEventHandlers_onabort_Get(this._parent);
7643   }
7644   void onauxclick()(EventHandler onauxclick) {
7645     GlobalEventHandlers_onauxclick_Set(this._parent, onauxclick);
7646   }
7647   auto onauxclick()() {
7648     return GlobalEventHandlers_onauxclick_Get(this._parent);
7649   }
7650   void onblur()(EventHandler onblur) {
7651     GlobalEventHandlers_onblur_Set(this._parent, onblur);
7652   }
7653   auto onblur()() {
7654     return GlobalEventHandlers_onblur_Get(this._parent);
7655   }
7656   void oncancel()(EventHandler oncancel) {
7657     GlobalEventHandlers_oncancel_Set(this._parent, oncancel);
7658   }
7659   auto oncancel()() {
7660     return GlobalEventHandlers_oncancel_Get(this._parent);
7661   }
7662   void oncanplay()(EventHandler oncanplay) {
7663     GlobalEventHandlers_oncanplay_Set(this._parent, oncanplay);
7664   }
7665   auto oncanplay()() {
7666     return GlobalEventHandlers_oncanplay_Get(this._parent);
7667   }
7668   void oncanplaythrough()(EventHandler oncanplaythrough) {
7669     GlobalEventHandlers_oncanplaythrough_Set(this._parent, oncanplaythrough);
7670   }
7671   auto oncanplaythrough()() {
7672     return GlobalEventHandlers_oncanplaythrough_Get(this._parent);
7673   }
7674   void onchange()(EventHandler onchange) {
7675     GlobalEventHandlers_onchange_Set(this._parent, onchange);
7676   }
7677   auto onchange()() {
7678     return GlobalEventHandlers_onchange_Get(this._parent);
7679   }
7680   void onclick()(EventHandler onclick) {
7681     GlobalEventHandlers_onclick_Set(this._parent, onclick);
7682   }
7683   auto onclick()() {
7684     return GlobalEventHandlers_onclick_Get(this._parent);
7685   }
7686   void onclose()(EventHandler onclose) {
7687     GlobalEventHandlers_onclose_Set(this._parent, onclose);
7688   }
7689   auto onclose()() {
7690     return GlobalEventHandlers_onclose_Get(this._parent);
7691   }
7692   void oncontextmenu()(EventHandler oncontextmenu) {
7693     GlobalEventHandlers_oncontextmenu_Set(this._parent, oncontextmenu);
7694   }
7695   auto oncontextmenu()() {
7696     return GlobalEventHandlers_oncontextmenu_Get(this._parent);
7697   }
7698   void oncuechange()(EventHandler oncuechange) {
7699     GlobalEventHandlers_oncuechange_Set(this._parent, oncuechange);
7700   }
7701   auto oncuechange()() {
7702     return GlobalEventHandlers_oncuechange_Get(this._parent);
7703   }
7704   void ondblclick()(EventHandler ondblclick) {
7705     GlobalEventHandlers_ondblclick_Set(this._parent, ondblclick);
7706   }
7707   auto ondblclick()() {
7708     return GlobalEventHandlers_ondblclick_Get(this._parent);
7709   }
7710   void ondrag()(EventHandler ondrag) {
7711     GlobalEventHandlers_ondrag_Set(this._parent, ondrag);
7712   }
7713   auto ondrag()() {
7714     return GlobalEventHandlers_ondrag_Get(this._parent);
7715   }
7716   void ondragend()(EventHandler ondragend) {
7717     GlobalEventHandlers_ondragend_Set(this._parent, ondragend);
7718   }
7719   auto ondragend()() {
7720     return GlobalEventHandlers_ondragend_Get(this._parent);
7721   }
7722   void ondragenter()(EventHandler ondragenter) {
7723     GlobalEventHandlers_ondragenter_Set(this._parent, ondragenter);
7724   }
7725   auto ondragenter()() {
7726     return GlobalEventHandlers_ondragenter_Get(this._parent);
7727   }
7728   void ondragexit()(EventHandler ondragexit) {
7729     GlobalEventHandlers_ondragexit_Set(this._parent, ondragexit);
7730   }
7731   auto ondragexit()() {
7732     return GlobalEventHandlers_ondragexit_Get(this._parent);
7733   }
7734   void ondragleave()(EventHandler ondragleave) {
7735     GlobalEventHandlers_ondragleave_Set(this._parent, ondragleave);
7736   }
7737   auto ondragleave()() {
7738     return GlobalEventHandlers_ondragleave_Get(this._parent);
7739   }
7740   void ondragover()(EventHandler ondragover) {
7741     GlobalEventHandlers_ondragover_Set(this._parent, ondragover);
7742   }
7743   auto ondragover()() {
7744     return GlobalEventHandlers_ondragover_Get(this._parent);
7745   }
7746   void ondragstart()(EventHandler ondragstart) {
7747     GlobalEventHandlers_ondragstart_Set(this._parent, ondragstart);
7748   }
7749   auto ondragstart()() {
7750     return GlobalEventHandlers_ondragstart_Get(this._parent);
7751   }
7752   void ondrop()(EventHandler ondrop) {
7753     GlobalEventHandlers_ondrop_Set(this._parent, ondrop);
7754   }
7755   auto ondrop()() {
7756     return GlobalEventHandlers_ondrop_Get(this._parent);
7757   }
7758   void ondurationchange()(EventHandler ondurationchange) {
7759     GlobalEventHandlers_ondurationchange_Set(this._parent, ondurationchange);
7760   }
7761   auto ondurationchange()() {
7762     return GlobalEventHandlers_ondurationchange_Get(this._parent);
7763   }
7764   void onemptied()(EventHandler onemptied) {
7765     GlobalEventHandlers_onemptied_Set(this._parent, onemptied);
7766   }
7767   auto onemptied()() {
7768     return GlobalEventHandlers_onemptied_Get(this._parent);
7769   }
7770   void onended()(EventHandler onended) {
7771     GlobalEventHandlers_onended_Set(this._parent, onended);
7772   }
7773   auto onended()() {
7774     return GlobalEventHandlers_onended_Get(this._parent);
7775   }
7776   void onerror(T0)(scope auto ref Optional!(T0) onerror) if (isTOrPointer!(T0, OnErrorEventHandler)) {
7777     GlobalEventHandlers_onerror_Set(this._parent, !onerror.empty, onerror.front);
7778   }
7779   auto onerror()() {
7780     return GlobalEventHandlers_onerror_Get(this._parent);
7781   }
7782   void onfocus()(EventHandler onfocus) {
7783     GlobalEventHandlers_onfocus_Set(this._parent, onfocus);
7784   }
7785   auto onfocus()() {
7786     return GlobalEventHandlers_onfocus_Get(this._parent);
7787   }
7788   void oninput()(EventHandler oninput) {
7789     GlobalEventHandlers_oninput_Set(this._parent, oninput);
7790   }
7791   auto oninput()() {
7792     return GlobalEventHandlers_oninput_Get(this._parent);
7793   }
7794   void oninvalid()(EventHandler oninvalid) {
7795     GlobalEventHandlers_oninvalid_Set(this._parent, oninvalid);
7796   }
7797   auto oninvalid()() {
7798     return GlobalEventHandlers_oninvalid_Get(this._parent);
7799   }
7800   void onkeydown()(EventHandler onkeydown) {
7801     GlobalEventHandlers_onkeydown_Set(this._parent, onkeydown);
7802   }
7803   auto onkeydown()() {
7804     return GlobalEventHandlers_onkeydown_Get(this._parent);
7805   }
7806   void onkeypress()(EventHandler onkeypress) {
7807     GlobalEventHandlers_onkeypress_Set(this._parent, onkeypress);
7808   }
7809   auto onkeypress()() {
7810     return GlobalEventHandlers_onkeypress_Get(this._parent);
7811   }
7812   void onkeyup()(EventHandler onkeyup) {
7813     GlobalEventHandlers_onkeyup_Set(this._parent, onkeyup);
7814   }
7815   auto onkeyup()() {
7816     return GlobalEventHandlers_onkeyup_Get(this._parent);
7817   }
7818   void onload()(EventHandler onload) {
7819     GlobalEventHandlers_onload_Set(this._parent, onload);
7820   }
7821   auto onload()() {
7822     return GlobalEventHandlers_onload_Get(this._parent);
7823   }
7824   void onloadeddata()(EventHandler onloadeddata) {
7825     GlobalEventHandlers_onloadeddata_Set(this._parent, onloadeddata);
7826   }
7827   auto onloadeddata()() {
7828     return GlobalEventHandlers_onloadeddata_Get(this._parent);
7829   }
7830   void onloadedmetadata()(EventHandler onloadedmetadata) {
7831     GlobalEventHandlers_onloadedmetadata_Set(this._parent, onloadedmetadata);
7832   }
7833   auto onloadedmetadata()() {
7834     return GlobalEventHandlers_onloadedmetadata_Get(this._parent);
7835   }
7836   void onloadend()(EventHandler onloadend) {
7837     GlobalEventHandlers_onloadend_Set(this._parent, onloadend);
7838   }
7839   auto onloadend()() {
7840     return GlobalEventHandlers_onloadend_Get(this._parent);
7841   }
7842   void onloadstart()(EventHandler onloadstart) {
7843     GlobalEventHandlers_onloadstart_Set(this._parent, onloadstart);
7844   }
7845   auto onloadstart()() {
7846     return GlobalEventHandlers_onloadstart_Get(this._parent);
7847   }
7848   void onmousedown()(EventHandler onmousedown) {
7849     GlobalEventHandlers_onmousedown_Set(this._parent, onmousedown);
7850   }
7851   auto onmousedown()() {
7852     return GlobalEventHandlers_onmousedown_Get(this._parent);
7853   }
7854   void onmouseenter()(EventHandler onmouseenter) {
7855     GlobalEventHandlers_onmouseenter_Set(this._parent, onmouseenter);
7856   }
7857   auto onmouseenter()() {
7858     return GlobalEventHandlers_onmouseenter_Get(this._parent);
7859   }
7860   void onmouseleave()(EventHandler onmouseleave) {
7861     GlobalEventHandlers_onmouseleave_Set(this._parent, onmouseleave);
7862   }
7863   auto onmouseleave()() {
7864     return GlobalEventHandlers_onmouseleave_Get(this._parent);
7865   }
7866   void onmousemove()(EventHandler onmousemove) {
7867     GlobalEventHandlers_onmousemove_Set(this._parent, onmousemove);
7868   }
7869   auto onmousemove()() {
7870     return GlobalEventHandlers_onmousemove_Get(this._parent);
7871   }
7872   void onmouseout()(EventHandler onmouseout) {
7873     GlobalEventHandlers_onmouseout_Set(this._parent, onmouseout);
7874   }
7875   auto onmouseout()() {
7876     return GlobalEventHandlers_onmouseout_Get(this._parent);
7877   }
7878   void onmouseover()(EventHandler onmouseover) {
7879     GlobalEventHandlers_onmouseover_Set(this._parent, onmouseover);
7880   }
7881   auto onmouseover()() {
7882     return GlobalEventHandlers_onmouseover_Get(this._parent);
7883   }
7884   void onmouseup()(EventHandler onmouseup) {
7885     GlobalEventHandlers_onmouseup_Set(this._parent, onmouseup);
7886   }
7887   auto onmouseup()() {
7888     return GlobalEventHandlers_onmouseup_Get(this._parent);
7889   }
7890   void onwheel()(EventHandler onwheel) {
7891     GlobalEventHandlers_onwheel_Set(this._parent, onwheel);
7892   }
7893   auto onwheel()() {
7894     return GlobalEventHandlers_onwheel_Get(this._parent);
7895   }
7896   void onpause()(EventHandler onpause) {
7897     GlobalEventHandlers_onpause_Set(this._parent, onpause);
7898   }
7899   auto onpause()() {
7900     return GlobalEventHandlers_onpause_Get(this._parent);
7901   }
7902   void onplay()(EventHandler onplay) {
7903     GlobalEventHandlers_onplay_Set(this._parent, onplay);
7904   }
7905   auto onplay()() {
7906     return GlobalEventHandlers_onplay_Get(this._parent);
7907   }
7908   void onplaying()(EventHandler onplaying) {
7909     GlobalEventHandlers_onplaying_Set(this._parent, onplaying);
7910   }
7911   auto onplaying()() {
7912     return GlobalEventHandlers_onplaying_Get(this._parent);
7913   }
7914   void onprogress()(EventHandler onprogress) {
7915     GlobalEventHandlers_onprogress_Set(this._parent, onprogress);
7916   }
7917   auto onprogress()() {
7918     return GlobalEventHandlers_onprogress_Get(this._parent);
7919   }
7920   void onratechange()(EventHandler onratechange) {
7921     GlobalEventHandlers_onratechange_Set(this._parent, onratechange);
7922   }
7923   auto onratechange()() {
7924     return GlobalEventHandlers_onratechange_Get(this._parent);
7925   }
7926   void onreset()(EventHandler onreset) {
7927     GlobalEventHandlers_onreset_Set(this._parent, onreset);
7928   }
7929   auto onreset()() {
7930     return GlobalEventHandlers_onreset_Get(this._parent);
7931   }
7932   void onresize()(EventHandler onresize) {
7933     GlobalEventHandlers_onresize_Set(this._parent, onresize);
7934   }
7935   auto onresize()() {
7936     return GlobalEventHandlers_onresize_Get(this._parent);
7937   }
7938   void onscroll()(EventHandler onscroll) {
7939     GlobalEventHandlers_onscroll_Set(this._parent, onscroll);
7940   }
7941   auto onscroll()() {
7942     return GlobalEventHandlers_onscroll_Get(this._parent);
7943   }
7944   void onsecuritypolicyviolation()(EventHandler onsecuritypolicyviolation) {
7945     GlobalEventHandlers_onsecuritypolicyviolation_Set(this._parent, onsecuritypolicyviolation);
7946   }
7947   auto onsecuritypolicyviolation()() {
7948     return GlobalEventHandlers_onsecuritypolicyviolation_Get(this._parent);
7949   }
7950   void onseeked()(EventHandler onseeked) {
7951     GlobalEventHandlers_onseeked_Set(this._parent, onseeked);
7952   }
7953   auto onseeked()() {
7954     return GlobalEventHandlers_onseeked_Get(this._parent);
7955   }
7956   void onseeking()(EventHandler onseeking) {
7957     GlobalEventHandlers_onseeking_Set(this._parent, onseeking);
7958   }
7959   auto onseeking()() {
7960     return GlobalEventHandlers_onseeking_Get(this._parent);
7961   }
7962   void onselect()(EventHandler onselect) {
7963     GlobalEventHandlers_onselect_Set(this._parent, onselect);
7964   }
7965   auto onselect()() {
7966     return GlobalEventHandlers_onselect_Get(this._parent);
7967   }
7968   void onstalled()(EventHandler onstalled) {
7969     GlobalEventHandlers_onstalled_Set(this._parent, onstalled);
7970   }
7971   auto onstalled()() {
7972     return GlobalEventHandlers_onstalled_Get(this._parent);
7973   }
7974   void onsubmit()(EventHandler onsubmit) {
7975     GlobalEventHandlers_onsubmit_Set(this._parent, onsubmit);
7976   }
7977   auto onsubmit()() {
7978     return GlobalEventHandlers_onsubmit_Get(this._parent);
7979   }
7980   void onsuspend()(EventHandler onsuspend) {
7981     GlobalEventHandlers_onsuspend_Set(this._parent, onsuspend);
7982   }
7983   auto onsuspend()() {
7984     return GlobalEventHandlers_onsuspend_Get(this._parent);
7985   }
7986   void ontimeupdate()(EventHandler ontimeupdate) {
7987     GlobalEventHandlers_ontimeupdate_Set(this._parent, ontimeupdate);
7988   }
7989   auto ontimeupdate()() {
7990     return GlobalEventHandlers_ontimeupdate_Get(this._parent);
7991   }
7992   void ontoggle()(EventHandler ontoggle) {
7993     GlobalEventHandlers_ontoggle_Set(this._parent, ontoggle);
7994   }
7995   auto ontoggle()() {
7996     return GlobalEventHandlers_ontoggle_Get(this._parent);
7997   }
7998   void onvolumechange()(EventHandler onvolumechange) {
7999     GlobalEventHandlers_onvolumechange_Set(this._parent, onvolumechange);
8000   }
8001   auto onvolumechange()() {
8002     return GlobalEventHandlers_onvolumechange_Get(this._parent);
8003   }
8004   void onwaiting()(EventHandler onwaiting) {
8005     GlobalEventHandlers_onwaiting_Set(this._parent, onwaiting);
8006   }
8007   auto onwaiting()() {
8008     return GlobalEventHandlers_onwaiting_Get(this._parent);
8009   }
8010   void ongotpointercapture()(EventHandler ongotpointercapture) {
8011     GlobalEventHandlers_ongotpointercapture_Set(this._parent, ongotpointercapture);
8012   }
8013   auto ongotpointercapture()() {
8014     return GlobalEventHandlers_ongotpointercapture_Get(this._parent);
8015   }
8016   void onlostpointercapture()(EventHandler onlostpointercapture) {
8017     GlobalEventHandlers_onlostpointercapture_Set(this._parent, onlostpointercapture);
8018   }
8019   auto onlostpointercapture()() {
8020     return GlobalEventHandlers_onlostpointercapture_Get(this._parent);
8021   }
8022   void onpointerdown()(EventHandler onpointerdown) {
8023     GlobalEventHandlers_onpointerdown_Set(this._parent, onpointerdown);
8024   }
8025   auto onpointerdown()() {
8026     return GlobalEventHandlers_onpointerdown_Get(this._parent);
8027   }
8028   void onpointermove()(EventHandler onpointermove) {
8029     GlobalEventHandlers_onpointermove_Set(this._parent, onpointermove);
8030   }
8031   auto onpointermove()() {
8032     return GlobalEventHandlers_onpointermove_Get(this._parent);
8033   }
8034   void onpointerup()(EventHandler onpointerup) {
8035     GlobalEventHandlers_onpointerup_Set(this._parent, onpointerup);
8036   }
8037   auto onpointerup()() {
8038     return GlobalEventHandlers_onpointerup_Get(this._parent);
8039   }
8040   void onpointercancel()(EventHandler onpointercancel) {
8041     GlobalEventHandlers_onpointercancel_Set(this._parent, onpointercancel);
8042   }
8043   auto onpointercancel()() {
8044     return GlobalEventHandlers_onpointercancel_Get(this._parent);
8045   }
8046   void onpointerover()(EventHandler onpointerover) {
8047     GlobalEventHandlers_onpointerover_Set(this._parent, onpointerover);
8048   }
8049   auto onpointerover()() {
8050     return GlobalEventHandlers_onpointerover_Get(this._parent);
8051   }
8052   void onpointerout()(EventHandler onpointerout) {
8053     GlobalEventHandlers_onpointerout_Set(this._parent, onpointerout);
8054   }
8055   auto onpointerout()() {
8056     return GlobalEventHandlers_onpointerout_Get(this._parent);
8057   }
8058   void onpointerenter()(EventHandler onpointerenter) {
8059     GlobalEventHandlers_onpointerenter_Set(this._parent, onpointerenter);
8060   }
8061   auto onpointerenter()() {
8062     return GlobalEventHandlers_onpointerenter_Get(this._parent);
8063   }
8064   void onpointerleave()(EventHandler onpointerleave) {
8065     GlobalEventHandlers_onpointerleave_Set(this._parent, onpointerleave);
8066   }
8067   auto onpointerleave()() {
8068     return GlobalEventHandlers_onpointerleave_Get(this._parent);
8069   }
8070   void ontouchstart()(EventHandler ontouchstart) {
8071     GlobalEventHandlers_ontouchstart_Set(this._parent, ontouchstart);
8072   }
8073   auto ontouchstart()() {
8074     return GlobalEventHandlers_ontouchstart_Get(this._parent);
8075   }
8076   void ontouchend()(EventHandler ontouchend) {
8077     GlobalEventHandlers_ontouchend_Set(this._parent, ontouchend);
8078   }
8079   auto ontouchend()() {
8080     return GlobalEventHandlers_ontouchend_Get(this._parent);
8081   }
8082   void ontouchmove()(EventHandler ontouchmove) {
8083     GlobalEventHandlers_ontouchmove_Set(this._parent, ontouchmove);
8084   }
8085   auto ontouchmove()() {
8086     return GlobalEventHandlers_ontouchmove_Get(this._parent);
8087   }
8088   void ontouchcancel()(EventHandler ontouchcancel) {
8089     GlobalEventHandlers_ontouchcancel_Set(this._parent, ontouchcancel);
8090   }
8091   auto ontouchcancel()() {
8092     return GlobalEventHandlers_ontouchcancel_Get(this._parent);
8093   }
8094   auto Blob()(scope ref Sequence!(BlobPart) blobParts, scope ref BlobPropertyBag options) {
8095     return .Blob(Window_Blob(this._parent, blobParts.handle, options.handle));
8096   }
8097   auto File()(scope ref Sequence!(BlobPart) fileBits, string fileName, scope ref FilePropertyBag options) {
8098     return .File(Window_File(this._parent, fileBits.handle, fileName, options._parent));
8099   }
8100   auto FileReader()() {
8101     return .FileReader(Window_FileReader(this._parent));
8102   }
8103   auto Headers()(scope ref HeadersInit init) {
8104     return .Headers(Window_Headers(this._parent, init));
8105   }
8106   auto Request()(scope ref RequestInfo input, scope ref RequestInit init) {
8107     return .Request(Window_Request(this._parent, input, init.handle));
8108   }
8109   auto Response(T0)(scope auto ref Optional!(T0) body_ /* = no!(BodyInit) */, scope ref ResponseInit init) if (isTOrPointer!(T0, BodyInit)) {
8110     return .Response(Window_Response(this._parent, !body_.empty, *body_.frontRef, init.handle));
8111   }
8112   auto Notification()(string title, scope ref NotificationOptions options) {
8113     return .Notification(Window_Notification(this._parent, title, options.handle));
8114   }
8115   auto AbortController()() {
8116     return .AbortController(Window_AbortController(this._parent));
8117   }
8118   auto CustomEvent()(string type, scope ref CustomEventInit eventInitDict) {
8119     return .CustomEvent(Window_CustomEvent(this._parent, type, eventInitDict._parent));
8120   }
8121   auto Event()(string type, scope ref EventInit eventInitDict) {
8122     return .Event(Window_Event(this._parent, type, eventInitDict.handle));
8123   }
8124   auto EventTarget()() {
8125     return .EventTarget(Window_EventTarget(this._parent));
8126   }
8127   auto BroadcastChannel()(string name) {
8128     return .BroadcastChannel(Window_BroadcastChannel(this._parent, name));
8129   }
8130   auto CloseEvent()(string type, scope ref CloseEventInit eventInitDict) {
8131     return .CloseEvent(Window_CloseEvent(this._parent, type, eventInitDict._parent));
8132   }
8133   auto ErrorEvent()(string type, scope ref ErrorEventInit eventInitDict) {
8134     return .ErrorEvent(Window_ErrorEvent(this._parent, type, eventInitDict._parent));
8135   }
8136   auto EventSource()(string url, scope ref EventSourceInit eventSourceInitDict) {
8137     return .EventSource(Window_EventSource(this._parent, url, eventSourceInitDict.handle));
8138   }
8139   auto ImageData()(uint sw, uint sh) {
8140     return .ImageData(Window_ImageData__uint_uint(this._parent, sw, sh));
8141   }
8142   auto ImageData()(scope ref Uint8ClampedArray data, uint sw, uint sh) {
8143     return .ImageData(Window_ImageData__Handle_uint_uint(this._parent, data.handle, sw, sh));
8144   }
8145   auto MessageChannel()() {
8146     return .MessageChannel(Window_MessageChannel(this._parent));
8147   }
8148   auto MessageEvent()(string type, scope ref MessageEventInit eventInitDict) {
8149     return .MessageEvent(Window_MessageEvent(this._parent, type, eventInitDict._parent));
8150   }
8151   auto OffscreenCanvas()(uint width, uint height) {
8152     return .OffscreenCanvas(Window_OffscreenCanvas(this._parent, width, height));
8153   }
8154   auto Path2D()(scope ref SumType!(.Path2D, string) path) {
8155     return .Path2D(Window_Path2D(this._parent, path));
8156   }
8157   auto PromiseRejectionEvent()(string type, scope ref PromiseRejectionEventInit eventInitDict) {
8158     return .PromiseRejectionEvent(Window_PromiseRejectionEvent(this._parent, type, eventInitDict._parent));
8159   }
8160   auto SharedWorker()(string scriptURL, scope ref SumType!(string, WorkerOptions) options) {
8161     return .SharedWorker(Window_SharedWorker(this._parent, scriptURL, options));
8162   }
8163   auto WebSocket()(string url, scope ref SumType!(string, Sequence!(string)) protocols /* = [] */) {
8164     return .WebSocket(Window_WebSocket(this._parent, url, protocols));
8165   }
8166   auto Worker()(string scriptURL, scope ref WorkerOptions options) {
8167     return .Worker(Window_Worker(this._parent, scriptURL, options.handle));
8168   }
8169   auto DOMException()(string message /* = "" */, string name /* = "Error" */) {
8170     return .DOMException(Window_DOMException(this._parent, message, name));
8171   }
8172   auto URL()(string url, string base) {
8173     return .URL(Window_URL(this._parent, url, base));
8174   }
8175   auto URLSearchParams()(scope ref SumType!(Sequence!(Sequence!(string)), Record!(string, string), string) init /* = "" */) {
8176     return .URLSearchParams(Window_URLSearchParams(this._parent, init));
8177   }
8178   auto DOMMatrix()(scope ref SumType!(string, Sequence!(double)) init) {
8179     return .DOMMatrix(Window_DOMMatrix(this._parent, init));
8180   }
8181   auto DOMMatrixReadOnly()(scope ref SumType!(string, Sequence!(double)) init) {
8182     return .DOMMatrixReadOnly(Window_DOMMatrixReadOnly(this._parent, init));
8183   }
8184   auto DOMPoint()(double x /* = 0 */, double y /* = 0 */, double z /* = 0 */, double w /* = 1 */) {
8185     return .DOMPoint(Window_DOMPoint(this._parent, x, y, z, w));
8186   }
8187   auto DOMPointReadOnly()(double x /* = 0 */, double y /* = 0 */, double z /* = 0 */, double w /* = 1 */) {
8188     return .DOMPointReadOnly(Window_DOMPointReadOnly(this._parent, x, y, z, w));
8189   }
8190   auto DOMQuad()(scope ref DOMPointInit p1, scope ref DOMPointInit p2, scope ref DOMPointInit p3, scope ref DOMPointInit p4) {
8191     return .DOMQuad(Window_DOMQuad(this._parent, p1.handle, p2.handle, p3.handle, p4.handle));
8192   }
8193   auto DOMRect()(double x /* = 0 */, double y /* = 0 */, double width /* = 0 */, double height /* = 0 */) {
8194     return .DOMRect(Window_DOMRect(this._parent, x, y, width, height));
8195   }
8196   auto DOMRectReadOnly()(double x /* = 0 */, double y /* = 0 */, double width /* = 0 */, double height /* = 0 */) {
8197     return .DOMRectReadOnly(Window_DOMRectReadOnly(this._parent, x, y, width, height));
8198   }
8199   auto IDBVersionChangeEvent()(string type, scope ref IDBVersionChangeEventInit eventInitDict) {
8200     return .IDBVersionChangeEvent(Window_IDBVersionChangeEvent(this._parent, type, eventInitDict._parent));
8201   }
8202   auto ByteLengthQueuingStrategy(T0)(scope auto ref T0 options) {
8203     Handle _handle_options = getOrCreateHandle(options);
8204     auto result = .ByteLengthQueuingStrategy(Window_ByteLengthQueuingStrategy(this._parent, _handle_options));
8205     dropHandle!(T0)(_handle_options);
8206     return result;
8207   }
8208   auto CountQueuingStrategy(T0)(scope auto ref T0 options) {
8209     Handle _handle_options = getOrCreateHandle(options);
8210     auto result = .CountQueuingStrategy(Window_CountQueuingStrategy(this._parent, _handle_options));
8211     dropHandle!(T0)(_handle_options);
8212     return result;
8213   }
8214   auto ReadableStream()(scope ref UnderlyingSource underlyingSource, scope ref QueuingStrategy strategy) {
8215     return .ReadableStream(Window_ReadableStream__Handle_Handle(this._parent, underlyingSource.handle, strategy.handle));
8216   }
8217   auto ReadableStream()(scope ref UnderlyingByteSource underlyingSource, scope ref QueuingStrategy strategy) {
8218     return .ReadableStream(Window_ReadableStream__Handle_Handle(this._parent, underlyingSource.handle, strategy.handle));
8219   }
8220   auto ReadableStreamBYOBReader()(scope ref .ReadableStream stream) {
8221     return .ReadableStreamBYOBReader(Window_ReadableStreamBYOBReader(this._parent, stream.handle));
8222   }
8223   auto ReadableStreamDefaultReader()(scope ref .ReadableStream stream) {
8224     return .ReadableStreamDefaultReader(Window_ReadableStreamDefaultReader(this._parent, stream.handle));
8225   }
8226   auto TransformStream()(scope ref Transformer transformer, scope ref QueuingStrategy writableStrategy, scope ref QueuingStrategy readableStrategy) {
8227     return .TransformStream(Window_TransformStream(this._parent, transformer.handle, writableStrategy.handle, readableStrategy.handle));
8228   }
8229   auto WritableStream()(scope ref UnderlyingSink underlyingSink, scope ref QueuingStrategy strategy) {
8230     return .WritableStream(Window_WritableStream(this._parent, underlyingSink.handle, strategy.handle));
8231   }
8232   auto WritableStreamDefaultWriter()(scope ref .ReadableStream stream) {
8233     return .WritableStreamDefaultWriter(Window_WritableStreamDefaultWriter(this._parent, stream.handle));
8234   }
8235   auto FormData()(scope ref HTMLFormElement form) {
8236     return .FormData(Window_FormData(this._parent, form._parent));
8237   }
8238   auto ProgressEvent()(string type, scope ref ProgressEventInit eventInitDict) {
8239     return .ProgressEvent(Window_ProgressEvent(this._parent, type, eventInitDict._parent));
8240   }
8241   auto XMLHttpRequest()() {
8242     return .XMLHttpRequest(Window_XMLHttpRequest(this._parent));
8243   }
8244   auto TextDecoder()(string label /* = "utf-8" */, scope ref TextDecoderOptions options) {
8245     return .TextDecoder(Window_TextDecoder(this._parent, label, options.handle));
8246   }
8247   auto TextDecoderStream()(string label /* = "utf-8" */, scope ref TextDecoderOptions options) {
8248     return .TextDecoderStream(Window_TextDecoderStream(this._parent, label, options.handle));
8249   }
8250   auto TextEncoder()() {
8251     return .TextEncoder(Window_TextEncoder(this._parent));
8252   }
8253   auto TextEncoderStream()() {
8254     return .TextEncoderStream(Window_TextEncoderStream(this._parent));
8255   }
8256 }
8257 struct WindowPostMessageOptions {
8258   nothrow:
8259   spasm.bindings.html.PostMessageOptions _parent;
8260   alias _parent this;
8261   this(Handle h) {
8262     _parent = .PostMessageOptions(h);
8263   }
8264   static auto create() {
8265     return WindowPostMessageOptions(spasm_add__object());
8266   }
8267   void targetOrigin()(string targetOrigin) {
8268     WindowPostMessageOptions_targetOrigin_Set(this._parent, targetOrigin);
8269   }
8270   auto targetOrigin()() {
8271     return WindowPostMessageOptions_targetOrigin_Get(this._parent);
8272   }
8273 }
8274 alias WindowProxy = Window;
8275 struct Worker {
8276   nothrow:
8277   spasm.bindings.dom.EventTarget _parent;
8278   alias _parent this;
8279   this(Handle h) {
8280     _parent = .EventTarget(h);
8281   }
8282   void terminate()() {
8283     Worker_terminate(this._parent);
8284   }
8285   void postMessage(T0)(scope auto ref T0 message, scope ref Sequence!(JsObject) transfer) {
8286     Handle _handle_message = getOrCreateHandle(message);
8287     Worker_postMessage__Handle_sequence(this._parent, _handle_message, transfer.handle);
8288     dropHandle!(T0)(_handle_message);
8289   }
8290   void postMessage(T0)(scope auto ref T0 message, scope ref PostMessageOptions options) {
8291     Handle _handle_message = getOrCreateHandle(message);
8292     Worker_postMessage__Handle_Handle(this._parent, _handle_message, options.handle);
8293     dropHandle!(T0)(_handle_message);
8294   }
8295   void postMessage(T0)(scope auto ref T0 message) {
8296     Handle _handle_message = getOrCreateHandle(message);
8297     Worker_postMessage_0(this._parent, _handle_message);
8298     dropHandle!(T0)(_handle_message);
8299   }
8300   void onmessage()(EventHandler onmessage) {
8301     Worker_onmessage_Set(this._parent, onmessage);
8302   }
8303   auto onmessage()() {
8304     return Worker_onmessage_Get(this._parent);
8305   }
8306   void onmessageerror()(EventHandler onmessageerror) {
8307     Worker_onmessageerror_Set(this._parent, onmessageerror);
8308   }
8309   auto onmessageerror()() {
8310     return Worker_onmessageerror_Get(this._parent);
8311   }
8312   void onerror()(EventHandler onerror) {
8313     AbstractWorker_onerror_Set(this._parent, onerror);
8314   }
8315   auto onerror()() {
8316     return AbstractWorker_onerror_Get(this._parent);
8317   }
8318   auto Blob()(scope ref Sequence!(BlobPart) blobParts, scope ref BlobPropertyBag options) {
8319     return .Blob(Worker_Blob(this._parent, blobParts.handle, options.handle));
8320   }
8321   auto File()(scope ref Sequence!(BlobPart) fileBits, string fileName, scope ref FilePropertyBag options) {
8322     return .File(Worker_File(this._parent, fileBits.handle, fileName, options._parent));
8323   }
8324   auto FileReader()() {
8325     return .FileReader(Worker_FileReader(this._parent));
8326   }
8327   auto Headers()(scope ref HeadersInit init) {
8328     return .Headers(Worker_Headers(this._parent, init));
8329   }
8330   auto Request()(scope ref RequestInfo input, scope ref RequestInit init) {
8331     return .Request(Worker_Request(this._parent, input, init.handle));
8332   }
8333   auto Response(T0)(scope auto ref Optional!(T0) body_ /* = no!(BodyInit) */, scope ref ResponseInit init) if (isTOrPointer!(T0, BodyInit)) {
8334     return .Response(Worker_Response(this._parent, !body_.empty, *body_.frontRef, init.handle));
8335   }
8336   auto Notification()(string title, scope ref NotificationOptions options) {
8337     return .Notification(Worker_Notification(this._parent, title, options.handle));
8338   }
8339   auto AbortController()() {
8340     return .AbortController(Worker_AbortController(this._parent));
8341   }
8342   auto CustomEvent()(string type, scope ref CustomEventInit eventInitDict) {
8343     return .CustomEvent(Worker_CustomEvent(this._parent, type, eventInitDict._parent));
8344   }
8345   auto Event()(string type, scope ref EventInit eventInitDict) {
8346     return .Event(Worker_Event(this._parent, type, eventInitDict.handle));
8347   }
8348   auto EventTarget()() {
8349     return .EventTarget(Worker_EventTarget(this._parent));
8350   }
8351   auto BroadcastChannel()(string name) {
8352     return .BroadcastChannel(Worker_BroadcastChannel(this._parent, name));
8353   }
8354   auto CloseEvent()(string type, scope ref CloseEventInit eventInitDict) {
8355     return .CloseEvent(Worker_CloseEvent(this._parent, type, eventInitDict._parent));
8356   }
8357   auto ErrorEvent()(string type, scope ref ErrorEventInit eventInitDict) {
8358     return .ErrorEvent(Worker_ErrorEvent(this._parent, type, eventInitDict._parent));
8359   }
8360   auto EventSource()(string url, scope ref EventSourceInit eventSourceInitDict) {
8361     return .EventSource(Worker_EventSource(this._parent, url, eventSourceInitDict.handle));
8362   }
8363   auto ImageData()(uint sw, uint sh) {
8364     return .ImageData(Worker_ImageData__uint_uint(this._parent, sw, sh));
8365   }
8366   auto ImageData()(scope ref Uint8ClampedArray data, uint sw, uint sh) {
8367     return .ImageData(Worker_ImageData__Handle_uint_uint(this._parent, data.handle, sw, sh));
8368   }
8369   auto MessageChannel()() {
8370     return .MessageChannel(Worker_MessageChannel(this._parent));
8371   }
8372   auto MessageEvent()(string type, scope ref MessageEventInit eventInitDict) {
8373     return .MessageEvent(Worker_MessageEvent(this._parent, type, eventInitDict._parent));
8374   }
8375   auto OffscreenCanvas()(uint width, uint height) {
8376     return .OffscreenCanvas(Worker_OffscreenCanvas(this._parent, width, height));
8377   }
8378   auto Path2D()(scope ref SumType!(.Path2D, string) path) {
8379     return .Path2D(Worker_Path2D(this._parent, path));
8380   }
8381   auto PromiseRejectionEvent()(string type, scope ref PromiseRejectionEventInit eventInitDict) {
8382     return .PromiseRejectionEvent(Worker_PromiseRejectionEvent(this._parent, type, eventInitDict._parent));
8383   }
8384   auto SharedWorker()(string scriptURL, scope ref SumType!(string, WorkerOptions) options) {
8385     return .SharedWorker(Worker_SharedWorker(this._parent, scriptURL, options));
8386   }
8387   auto WebSocket()(string url, scope ref SumType!(string, Sequence!(string)) protocols /* = [] */) {
8388     return .WebSocket(Worker_WebSocket(this._parent, url, protocols));
8389   }
8390   auto Worker()(string scriptURL, scope ref WorkerOptions options) {
8391     return .Worker(Worker_Worker(this._parent, scriptURL, options.handle));
8392   }
8393   auto DOMException()(string message /* = "" */, string name /* = "Error" */) {
8394     return .DOMException(Worker_DOMException(this._parent, message, name));
8395   }
8396   auto URL()(string url, string base) {
8397     return .URL(Worker_URL(this._parent, url, base));
8398   }
8399   auto URLSearchParams()(scope ref SumType!(Sequence!(Sequence!(string)), Record!(string, string), string) init /* = "" */) {
8400     return .URLSearchParams(Worker_URLSearchParams(this._parent, init));
8401   }
8402   auto DOMMatrix()(scope ref SumType!(string, Sequence!(double)) init) {
8403     return .DOMMatrix(Worker_DOMMatrix(this._parent, init));
8404   }
8405   auto DOMMatrixReadOnly()(scope ref SumType!(string, Sequence!(double)) init) {
8406     return .DOMMatrixReadOnly(Worker_DOMMatrixReadOnly(this._parent, init));
8407   }
8408   auto DOMPoint()(double x /* = 0 */, double y /* = 0 */, double z /* = 0 */, double w /* = 1 */) {
8409     return .DOMPoint(Worker_DOMPoint(this._parent, x, y, z, w));
8410   }
8411   auto DOMPointReadOnly()(double x /* = 0 */, double y /* = 0 */, double z /* = 0 */, double w /* = 1 */) {
8412     return .DOMPointReadOnly(Worker_DOMPointReadOnly(this._parent, x, y, z, w));
8413   }
8414   auto DOMQuad()(scope ref DOMPointInit p1, scope ref DOMPointInit p2, scope ref DOMPointInit p3, scope ref DOMPointInit p4) {
8415     return .DOMQuad(Worker_DOMQuad(this._parent, p1.handle, p2.handle, p3.handle, p4.handle));
8416   }
8417   auto DOMRect()(double x /* = 0 */, double y /* = 0 */, double width /* = 0 */, double height /* = 0 */) {
8418     return .DOMRect(Worker_DOMRect(this._parent, x, y, width, height));
8419   }
8420   auto DOMRectReadOnly()(double x /* = 0 */, double y /* = 0 */, double width /* = 0 */, double height /* = 0 */) {
8421     return .DOMRectReadOnly(Worker_DOMRectReadOnly(this._parent, x, y, width, height));
8422   }
8423   auto IDBVersionChangeEvent()(string type, scope ref IDBVersionChangeEventInit eventInitDict) {
8424     return .IDBVersionChangeEvent(Worker_IDBVersionChangeEvent(this._parent, type, eventInitDict._parent));
8425   }
8426   auto ByteLengthQueuingStrategy(T0)(scope auto ref T0 options) {
8427     Handle _handle_options = getOrCreateHandle(options);
8428     auto result = .ByteLengthQueuingStrategy(Worker_ByteLengthQueuingStrategy(this._parent, _handle_options));
8429     dropHandle!(T0)(_handle_options);
8430     return result;
8431   }
8432   auto CountQueuingStrategy(T0)(scope auto ref T0 options) {
8433     Handle _handle_options = getOrCreateHandle(options);
8434     auto result = .CountQueuingStrategy(Worker_CountQueuingStrategy(this._parent, _handle_options));
8435     dropHandle!(T0)(_handle_options);
8436     return result;
8437   }
8438   auto ReadableStream()(scope ref UnderlyingSource underlyingSource, scope ref QueuingStrategy strategy) {
8439     return .ReadableStream(Worker_ReadableStream__Handle_Handle(this._parent, underlyingSource.handle, strategy.handle));
8440   }
8441   auto ReadableStream()(scope ref UnderlyingByteSource underlyingSource, scope ref QueuingStrategy strategy) {
8442     return .ReadableStream(Worker_ReadableStream__Handle_Handle(this._parent, underlyingSource.handle, strategy.handle));
8443   }
8444   auto ReadableStreamBYOBReader()(scope ref .ReadableStream stream) {
8445     return .ReadableStreamBYOBReader(Worker_ReadableStreamBYOBReader(this._parent, stream.handle));
8446   }
8447   auto ReadableStreamDefaultReader()(scope ref .ReadableStream stream) {
8448     return .ReadableStreamDefaultReader(Worker_ReadableStreamDefaultReader(this._parent, stream.handle));
8449   }
8450   auto TransformStream()(scope ref Transformer transformer, scope ref QueuingStrategy writableStrategy, scope ref QueuingStrategy readableStrategy) {
8451     return .TransformStream(Worker_TransformStream(this._parent, transformer.handle, writableStrategy.handle, readableStrategy.handle));
8452   }
8453   auto WritableStream()(scope ref UnderlyingSink underlyingSink, scope ref QueuingStrategy strategy) {
8454     return .WritableStream(Worker_WritableStream(this._parent, underlyingSink.handle, strategy.handle));
8455   }
8456   auto WritableStreamDefaultWriter()(scope ref .ReadableStream stream) {
8457     return .WritableStreamDefaultWriter(Worker_WritableStreamDefaultWriter(this._parent, stream.handle));
8458   }
8459   auto FormData()(scope ref HTMLFormElement form) {
8460     return .FormData(Worker_FormData(this._parent, form._parent));
8461   }
8462   auto TextDecoder()(string label /* = "utf-8" */, scope ref TextDecoderOptions options) {
8463     return .TextDecoder(Worker_TextDecoder(this._parent, label, options.handle));
8464   }
8465   auto TextDecoderStream()(string label /* = "utf-8" */, scope ref TextDecoderOptions options) {
8466     return .TextDecoderStream(Worker_TextDecoderStream(this._parent, label, options.handle));
8467   }
8468   auto TextEncoder()() {
8469     return .TextEncoder(Worker_TextEncoder(this._parent));
8470   }
8471   auto TextEncoderStream()() {
8472     return .TextEncoderStream(Worker_TextEncoderStream(this._parent));
8473   }
8474 }
8475 struct WorkerGlobalScope {
8476   nothrow:
8477   spasm.bindings.dom.EventTarget _parent;
8478   alias _parent this;
8479   this(Handle h) {
8480     _parent = .EventTarget(h);
8481   }
8482   auto self()() {
8483     return WorkerGlobalScope(WorkerGlobalScope_self_Get(this._parent));
8484   }
8485   auto location()() {
8486     return WorkerLocation(WorkerGlobalScope_location_Get(this._parent));
8487   }
8488   auto navigator()() {
8489     return WorkerNavigator(WorkerGlobalScope_navigator_Get(this._parent));
8490   }
8491   void importScripts()(string urls) {
8492     WorkerGlobalScope_importScripts(this._parent, urls);
8493   }
8494   void onerror(T0)(scope auto ref Optional!(T0) onerror) if (isTOrPointer!(T0, OnErrorEventHandler)) {
8495     WorkerGlobalScope_onerror_Set(this._parent, !onerror.empty, onerror.front);
8496   }
8497   auto onerror()() {
8498     return WorkerGlobalScope_onerror_Get(this._parent);
8499   }
8500   void onlanguagechange()(EventHandler onlanguagechange) {
8501     WorkerGlobalScope_onlanguagechange_Set(this._parent, onlanguagechange);
8502   }
8503   auto onlanguagechange()() {
8504     return WorkerGlobalScope_onlanguagechange_Get(this._parent);
8505   }
8506   void onoffline()(EventHandler onoffline) {
8507     WorkerGlobalScope_onoffline_Set(this._parent, onoffline);
8508   }
8509   auto onoffline()() {
8510     return WorkerGlobalScope_onoffline_Get(this._parent);
8511   }
8512   void ononline()(EventHandler ononline) {
8513     WorkerGlobalScope_ononline_Set(this._parent, ononline);
8514   }
8515   auto ononline()() {
8516     return WorkerGlobalScope_ononline_Get(this._parent);
8517   }
8518   void onrejectionhandled()(EventHandler onrejectionhandled) {
8519     WorkerGlobalScope_onrejectionhandled_Set(this._parent, onrejectionhandled);
8520   }
8521   auto onrejectionhandled()() {
8522     return WorkerGlobalScope_onrejectionhandled_Get(this._parent);
8523   }
8524   void onunhandledrejection()(EventHandler onunhandledrejection) {
8525     WorkerGlobalScope_onunhandledrejection_Set(this._parent, onunhandledrejection);
8526   }
8527   auto onunhandledrejection()() {
8528     return WorkerGlobalScope_onunhandledrejection_Get(this._parent);
8529   }
8530   auto origin()() {
8531     return WindowOrWorkerGlobalScope_origin_Get(this._parent);
8532   }
8533   auto btoa()(string data) {
8534     return WindowOrWorkerGlobalScope_btoa(this._parent, data);
8535   }
8536   auto atob()(string data) {
8537     return WindowOrWorkerGlobalScope_atob(this._parent, data);
8538   }
8539   auto setTimeout(T2)(scope ref TimerHandler handler, int timeout /* = 0 */, scope auto ref T2 arguments) {
8540     Handle _handle_arguments = getOrCreateHandle(arguments);
8541     auto result = WindowOrWorkerGlobalScope_setTimeout(this._parent, handler, timeout, _handle_arguments);
8542     dropHandle!(T2)(_handle_arguments);
8543     return result;
8544   }
8545   void clearTimeout()(int handle /* = 0 */) {
8546     WindowOrWorkerGlobalScope_clearTimeout(this._parent, handle);
8547   }
8548   void clearTimeout()() {
8549     WindowOrWorkerGlobalScope_clearTimeout_0(this._parent);
8550   }
8551   auto setInterval(T2)(scope ref TimerHandler handler, int timeout /* = 0 */, scope auto ref T2 arguments) {
8552     Handle _handle_arguments = getOrCreateHandle(arguments);
8553     auto result = WindowOrWorkerGlobalScope_setInterval(this._parent, handler, timeout, _handle_arguments);
8554     dropHandle!(T2)(_handle_arguments);
8555     return result;
8556   }
8557   void clearInterval()(int handle /* = 0 */) {
8558     WindowOrWorkerGlobalScope_clearInterval(this._parent, handle);
8559   }
8560   void clearInterval()() {
8561     WindowOrWorkerGlobalScope_clearInterval_0(this._parent);
8562   }
8563   void queueMicrotask()(VoidFunction callback) {
8564     WindowOrWorkerGlobalScope_queueMicrotask(this._parent, callback);
8565   }
8566   auto createImageBitmap()(scope ref ImageBitmapSource image, scope ref ImageBitmapOptions options) {
8567     return Promise!(ImageBitmap)(WindowOrWorkerGlobalScope_createImageBitmap__ImageBitmapSource_Handle(this._parent, image, options.handle));
8568   }
8569   auto createImageBitmap()(scope ref ImageBitmapSource image) {
8570     return Promise!(ImageBitmap)(WindowOrWorkerGlobalScope_createImageBitmap_0_ImageBitmapSource(this._parent, image));
8571   }
8572   auto createImageBitmap()(scope ref ImageBitmapSource image, int sx, int sy, int sw, int sh, scope ref ImageBitmapOptions options) {
8573     return Promise!(ImageBitmap)(WindowOrWorkerGlobalScope_createImageBitmap__ImageBitmapSource_int_int_int_int_Handle(this._parent, image, sx, sy, sw, sh, options.handle));
8574   }
8575   auto createImageBitmap()(scope ref ImageBitmapSource image, int sx, int sy, int sw, int sh) {
8576     return Promise!(ImageBitmap)(WindowOrWorkerGlobalScope_createImageBitmap_0_ImageBitmapSource_int_int_int_int(this._parent, image, sx, sy, sw, sh));
8577   }
8578   auto fetch()(scope ref RequestInfo input, scope ref RequestInit init) {
8579     return Promise!(Response)(WindowOrWorkerGlobalScope_fetch(this._parent, input, init.handle));
8580   }
8581   auto fetch()(scope ref RequestInfo input) {
8582     return Promise!(Response)(WindowOrWorkerGlobalScope_fetch_0(this._parent, input));
8583   }
8584   auto indexedDB()() {
8585     return IDBFactory(WindowOrWorkerGlobalScope_indexedDB_Get(this._parent));
8586   }
8587   auto caches()() {
8588     return CacheStorage(WindowOrWorkerGlobalScope_caches_Get(this._parent));
8589   }
8590 }
8591 struct WorkerLocation {
8592   nothrow:
8593   JsHandle handle;
8594   alias handle this;
8595   this(Handle h) {
8596     this.handle = JsHandle(h);
8597   }
8598   void href()(string href) {
8599     WorkerLocation_href_Set(this.handle, href);
8600   }
8601   auto href()() {
8602     return WorkerLocation_href_Get(this.handle);
8603   }
8604   auto origin()() {
8605     return WorkerLocation_origin_Get(this.handle);
8606   }
8607   auto protocol()() {
8608     return WorkerLocation_protocol_Get(this.handle);
8609   }
8610   auto host()() {
8611     return WorkerLocation_host_Get(this.handle);
8612   }
8613   auto hostname()() {
8614     return WorkerLocation_hostname_Get(this.handle);
8615   }
8616   auto port()() {
8617     return WorkerLocation_port_Get(this.handle);
8618   }
8619   auto pathname()() {
8620     return WorkerLocation_pathname_Get(this.handle);
8621   }
8622   auto search()() {
8623     return WorkerLocation_search_Get(this.handle);
8624   }
8625   auto hash()() {
8626     return WorkerLocation_hash_Get(this.handle);
8627   }
8628 }
8629 struct WorkerNavigator {
8630   nothrow:
8631   JsHandle handle;
8632   alias handle this;
8633   this(Handle h) {
8634     this.handle = JsHandle(h);
8635   }
8636   auto permissions()() {
8637     return Permissions(WorkerNavigator_permissions_Get(this.handle));
8638   }
8639   auto serviceWorker()() {
8640     return ServiceWorkerContainer(WorkerNavigator_serviceWorker_Get(this.handle));
8641   }
8642   auto hardwareConcurrency()() {
8643     return NavigatorConcurrentHardware_hardwareConcurrency_Get(this.handle);
8644   }
8645   auto onLine()() {
8646     return NavigatorOnLine_onLine_Get(this.handle);
8647   }
8648   auto language()() {
8649     return NavigatorLanguage_language_Get(this.handle);
8650   }
8651   auto languages()() {
8652     return FrozenArray!(string)(NavigatorLanguage_languages_Get(this.handle));
8653   }
8654   auto appCodeName()() {
8655     return NavigatorID_appCodeName_Get(this.handle);
8656   }
8657   auto appName()() {
8658     return NavigatorID_appName_Get(this.handle);
8659   }
8660   auto appVersion()() {
8661     return NavigatorID_appVersion_Get(this.handle);
8662   }
8663   auto platform()() {
8664     return NavigatorID_platform_Get(this.handle);
8665   }
8666   auto product()() {
8667     return NavigatorID_product_Get(this.handle);
8668   }
8669   auto productSub()() {
8670     return NavigatorID_productSub_Get(this.handle);
8671   }
8672   auto userAgent()() {
8673     return NavigatorID_userAgent_Get(this.handle);
8674   }
8675   auto vendor()() {
8676     return NavigatorID_vendor_Get(this.handle);
8677   }
8678   auto vendorSub()() {
8679     return NavigatorID_vendorSub_Get(this.handle);
8680   }
8681   auto taintEnabled()() {
8682     return NavigatorID_taintEnabled(this.handle);
8683   }
8684   auto oscpu()() {
8685     return NavigatorID_oscpu_Get(this.handle);
8686   }
8687 }
8688 struct WorkerOptions {
8689   nothrow:
8690   JsHandle handle;
8691   alias handle this;
8692   this(Handle h) {
8693     this.handle = JsHandle(h);
8694   }
8695   static auto create() {
8696     return WorkerOptions(spasm_add__object());
8697   }
8698   void type()(WorkerType type) {
8699     WorkerOptions_type_Set(this.handle, type);
8700   }
8701   auto type()() {
8702     return WorkerOptions_type_Get(this.handle);
8703   }
8704   void credentials()(RequestCredentials credentials) {
8705     WorkerOptions_credentials_Set(this.handle, credentials);
8706   }
8707   auto credentials()() {
8708     return WorkerOptions_credentials_Get(this.handle);
8709   }
8710   void name()(string name) {
8711     WorkerOptions_name_Set(this.handle, name);
8712   }
8713   auto name()() {
8714     return WorkerOptions_name_Get(this.handle);
8715   }
8716 }
8717 enum WorkerType {
8718   classic,
8719   module_
8720 }
8721 
8722 
8723 extern (C) void AbstractWorker_onerror_Set(Handle, EventHandler);
8724 extern (C) EventHandler AbstractWorker_onerror_Get(Handle);
8725 extern (C) uint AnimationFrameProvider_requestAnimationFrame(Handle, FrameRequestCallback);
8726 extern (C) void AnimationFrameProvider_cancelAnimationFrame(Handle, uint);
8727 extern (C) ushort ApplicationCache_status_Get(Handle);
8728 extern (C) void ApplicationCache_update(Handle);
8729 extern (C) void ApplicationCache_abort(Handle);
8730 extern (C) void ApplicationCache_swapCache(Handle);
8731 extern (C) void ApplicationCache_onchecking_Set(Handle, EventHandler);
8732 extern (C) EventHandler ApplicationCache_onchecking_Get(Handle);
8733 extern (C) void ApplicationCache_onerror_Set(Handle, EventHandler);
8734 extern (C) EventHandler ApplicationCache_onerror_Get(Handle);
8735 extern (C) void ApplicationCache_onnoupdate_Set(Handle, EventHandler);
8736 extern (C) EventHandler ApplicationCache_onnoupdate_Get(Handle);
8737 extern (C) void ApplicationCache_ondownloading_Set(Handle, EventHandler);
8738 extern (C) EventHandler ApplicationCache_ondownloading_Get(Handle);
8739 extern (C) void ApplicationCache_onprogress_Set(Handle, EventHandler);
8740 extern (C) EventHandler ApplicationCache_onprogress_Get(Handle);
8741 extern (C) void ApplicationCache_onupdateready_Set(Handle, EventHandler);
8742 extern (C) EventHandler ApplicationCache_onupdateready_Get(Handle);
8743 extern (C) void ApplicationCache_oncached_Set(Handle, EventHandler);
8744 extern (C) EventHandler ApplicationCache_oncached_Get(Handle);
8745 extern (C) void ApplicationCache_onobsolete_Set(Handle, EventHandler);
8746 extern (C) EventHandler ApplicationCache_onobsolete_Get(Handle);
8747 extern (C) void AssignedNodesOptions_flatten_Set(Handle, bool);
8748 extern (C) bool AssignedNodesOptions_flatten_Get(Handle);
8749 extern (C) string AudioTrack_id_Get(Handle);
8750 extern (C) string AudioTrack_kind_Get(Handle);
8751 extern (C) string AudioTrack_label_Get(Handle);
8752 extern (C) string AudioTrack_language_Get(Handle);
8753 extern (C) void AudioTrack_enabled_Set(Handle, bool);
8754 extern (C) bool AudioTrack_enabled_Get(Handle);
8755 extern (C) Optional!(SourceBuffer) AudioTrack_sourceBuffer_Get(Handle);
8756 extern (C) uint AudioTrackList_length_Get(Handle);
8757 extern (C) Handle AudioTrackList_getter__uint(Handle, uint);
8758 extern (C) Optional!(AudioTrack) AudioTrackList_getTrackById(Handle, string);
8759 extern (C) void AudioTrackList_onchange_Set(Handle, EventHandler);
8760 extern (C) EventHandler AudioTrackList_onchange_Get(Handle);
8761 extern (C) void AudioTrackList_onaddtrack_Set(Handle, EventHandler);
8762 extern (C) EventHandler AudioTrackList_onaddtrack_Get(Handle);
8763 extern (C) void AudioTrackList_onremovetrack_Set(Handle, EventHandler);
8764 extern (C) EventHandler AudioTrackList_onremovetrack_Get(Handle);
8765 extern (C) bool BarProp_visible_Get(Handle);
8766 extern (C) void BeforeUnloadEvent_returnValue_Set(Handle, string);
8767 extern (C) string BeforeUnloadEvent_returnValue_Get(Handle);
8768 extern (C) string BroadcastChannel_name_Get(Handle);
8769 extern (C) void BroadcastChannel_postMessage(Handle, Handle);
8770 extern (C) void BroadcastChannel_close(Handle);
8771 extern (C) void BroadcastChannel_onmessage_Set(Handle, EventHandler);
8772 extern (C) EventHandler BroadcastChannel_onmessage_Get(Handle);
8773 extern (C) void BroadcastChannel_onmessageerror_Set(Handle, EventHandler);
8774 extern (C) EventHandler BroadcastChannel_onmessageerror_Get(Handle);
8775 extern (C) void CanvasCompositing_globalAlpha_Set(Handle, double);
8776 extern (C) double CanvasCompositing_globalAlpha_Get(Handle);
8777 extern (C) void CanvasCompositing_globalCompositeOperation_Set(Handle, string);
8778 extern (C) string CanvasCompositing_globalCompositeOperation_Get(Handle);
8779 extern (C) void CanvasDrawImage_drawImage__CanvasImageSource_double_double(Handle, scope ref CanvasImageSource, double, double);
8780 extern (C) void CanvasDrawImage_drawImage__CanvasImageSource_double_double_double_double(Handle, scope ref CanvasImageSource, double, double, double, double);
8781 extern (C) void CanvasDrawImage_drawImage__CanvasImageSource_double_double_double_double_double_double_double_double(Handle, scope ref CanvasImageSource, double, double, double, double, double, double, double, double);
8782 extern (C) void CanvasDrawPath_beginPath(Handle);
8783 extern (C) void CanvasDrawPath_fill__CanvasFillRule(Handle, CanvasFillRule);
8784 extern (C) void CanvasDrawPath_fill_0_(Handle);
8785 extern (C) void CanvasDrawPath_fill__Handle_CanvasFillRule(Handle, Handle, CanvasFillRule);
8786 extern (C) void CanvasDrawPath_fill_0_Handle(Handle, Handle);
8787 extern (C) void CanvasDrawPath_stroke__(Handle);
8788 extern (C) void CanvasDrawPath_stroke__Handle(Handle, Handle);
8789 extern (C) void CanvasDrawPath_clip__CanvasFillRule(Handle, CanvasFillRule);
8790 extern (C) void CanvasDrawPath_clip_0_(Handle);
8791 extern (C) void CanvasDrawPath_clip__Handle_CanvasFillRule(Handle, Handle, CanvasFillRule);
8792 extern (C) void CanvasDrawPath_clip_0_Handle(Handle, Handle);
8793 extern (C) bool CanvasDrawPath_isPointInPath__double_double_CanvasFillRule(Handle, double, double, CanvasFillRule);
8794 extern (C) bool CanvasDrawPath_isPointInPath_0_double_double(Handle, double, double);
8795 extern (C) bool CanvasDrawPath_isPointInPath__Handle_double_double_CanvasFillRule(Handle, Handle, double, double, CanvasFillRule);
8796 extern (C) bool CanvasDrawPath_isPointInPath_0_Handle_double_double(Handle, Handle, double, double);
8797 extern (C) bool CanvasDrawPath_isPointInStroke__double_double(Handle, double, double);
8798 extern (C) bool CanvasDrawPath_isPointInStroke__Handle_double_double(Handle, Handle, double, double);
8799 extern (C) void CanvasFillStrokeStyles_strokeStyle_Set(Handle, scope ref SumType!(string, CanvasGradient, CanvasPattern));
8800 extern (C) SumType!(string, CanvasGradient, CanvasPattern) CanvasFillStrokeStyles_strokeStyle_Get(Handle);
8801 extern (C) void CanvasFillStrokeStyles_fillStyle_Set(Handle, scope ref SumType!(string, CanvasGradient, CanvasPattern));
8802 extern (C) SumType!(string, CanvasGradient, CanvasPattern) CanvasFillStrokeStyles_fillStyle_Get(Handle);
8803 extern (C) Handle CanvasFillStrokeStyles_createLinearGradient(Handle, double, double, double, double);
8804 extern (C) Handle CanvasFillStrokeStyles_createRadialGradient(Handle, double, double, double, double, double, double);
8805 extern (C) Optional!(CanvasPattern) CanvasFillStrokeStyles_createPattern(Handle, scope ref CanvasImageSource, string);
8806 extern (C) void CanvasFilters_filter_Set(Handle, string);
8807 extern (C) string CanvasFilters_filter_Get(Handle);
8808 extern (C) void CanvasGradient_addColorStop(Handle, double, string);
8809 extern (C) Handle CanvasImageData_createImageData__int_int(Handle, int, int);
8810 extern (C) Handle CanvasImageData_createImageData__Handle(Handle, Handle);
8811 extern (C) Handle CanvasImageData_getImageData(Handle, int, int, int, int);
8812 extern (C) void CanvasImageData_putImageData__Handle_int_int(Handle, Handle, int, int);
8813 extern (C) void CanvasImageData_putImageData__Handle_int_int_int_int_int_int(Handle, Handle, int, int, int, int, int, int);
8814 extern (C) void CanvasImageSmoothing_imageSmoothingEnabled_Set(Handle, bool);
8815 extern (C) bool CanvasImageSmoothing_imageSmoothingEnabled_Get(Handle);
8816 extern (C) void CanvasImageSmoothing_imageSmoothingQuality_Set(Handle, ImageSmoothingQuality);
8817 extern (C) ImageSmoothingQuality CanvasImageSmoothing_imageSmoothingQuality_Get(Handle);
8818 extern (C) void CanvasPath_closePath(Handle);
8819 extern (C) void CanvasPath_moveTo(Handle, double, double);
8820 extern (C) void CanvasPath_lineTo(Handle, double, double);
8821 extern (C) void CanvasPath_quadraticCurveTo(Handle, double, double, double, double);
8822 extern (C) void CanvasPath_bezierCurveTo(Handle, double, double, double, double, double, double);
8823 extern (C) void CanvasPath_arcTo(Handle, double, double, double, double, double);
8824 extern (C) void CanvasPath_rect(Handle, double, double, double, double);
8825 extern (C) void CanvasPath_arc(Handle, double, double, double, double, double, bool);
8826 extern (C) void CanvasPath_arc_0(Handle, double, double, double, double, double);
8827 extern (C) void CanvasPath_ellipse(Handle, double, double, double, double, double, double, double, bool);
8828 extern (C) void CanvasPath_ellipse_0(Handle, double, double, double, double, double, double, double);
8829 extern (C) void CanvasPathDrawingStyles_lineWidth_Set(Handle, double);
8830 extern (C) double CanvasPathDrawingStyles_lineWidth_Get(Handle);
8831 extern (C) void CanvasPathDrawingStyles_lineCap_Set(Handle, CanvasLineCap);
8832 extern (C) CanvasLineCap CanvasPathDrawingStyles_lineCap_Get(Handle);
8833 extern (C) void CanvasPathDrawingStyles_lineJoin_Set(Handle, CanvasLineJoin);
8834 extern (C) CanvasLineJoin CanvasPathDrawingStyles_lineJoin_Get(Handle);
8835 extern (C) void CanvasPathDrawingStyles_miterLimit_Set(Handle, double);
8836 extern (C) double CanvasPathDrawingStyles_miterLimit_Get(Handle);
8837 extern (C) void CanvasPathDrawingStyles_setLineDash(Handle, Handle);
8838 extern (C) Handle CanvasPathDrawingStyles_getLineDash(Handle);
8839 extern (C) void CanvasPathDrawingStyles_lineDashOffset_Set(Handle, double);
8840 extern (C) double CanvasPathDrawingStyles_lineDashOffset_Get(Handle);
8841 extern (C) void CanvasPattern_setTransform(Handle, Handle);
8842 extern (C) void CanvasPattern_setTransform_0(Handle);
8843 extern (C) void CanvasRect_clearRect(Handle, double, double, double, double);
8844 extern (C) void CanvasRect_fillRect(Handle, double, double, double, double);
8845 extern (C) void CanvasRect_strokeRect(Handle, double, double, double, double);
8846 extern (C) Handle CanvasRenderingContext2D_canvas_Get(Handle);
8847 extern (C) void CanvasRenderingContext2DSettings_alpha_Set(Handle, bool);
8848 extern (C) bool CanvasRenderingContext2DSettings_alpha_Get(Handle);
8849 extern (C) void CanvasShadowStyles_shadowOffsetX_Set(Handle, double);
8850 extern (C) double CanvasShadowStyles_shadowOffsetX_Get(Handle);
8851 extern (C) void CanvasShadowStyles_shadowOffsetY_Set(Handle, double);
8852 extern (C) double CanvasShadowStyles_shadowOffsetY_Get(Handle);
8853 extern (C) void CanvasShadowStyles_shadowBlur_Set(Handle, double);
8854 extern (C) double CanvasShadowStyles_shadowBlur_Get(Handle);
8855 extern (C) void CanvasShadowStyles_shadowColor_Set(Handle, string);
8856 extern (C) string CanvasShadowStyles_shadowColor_Get(Handle);
8857 extern (C) void CanvasState_save(Handle);
8858 extern (C) void CanvasState_restore(Handle);
8859 extern (C) void CanvasText_fillText(Handle, string, double, double, double);
8860 extern (C) void CanvasText_fillText_0(Handle, string, double, double);
8861 extern (C) void CanvasText_strokeText(Handle, string, double, double, double);
8862 extern (C) void CanvasText_strokeText_0(Handle, string, double, double);
8863 extern (C) Handle CanvasText_measureText(Handle, string);
8864 extern (C) void CanvasTextDrawingStyles_font_Set(Handle, string);
8865 extern (C) string CanvasTextDrawingStyles_font_Get(Handle);
8866 extern (C) void CanvasTextDrawingStyles_textAlign_Set(Handle, CanvasTextAlign);
8867 extern (C) CanvasTextAlign CanvasTextDrawingStyles_textAlign_Get(Handle);
8868 extern (C) void CanvasTextDrawingStyles_textBaseline_Set(Handle, CanvasTextBaseline);
8869 extern (C) CanvasTextBaseline CanvasTextDrawingStyles_textBaseline_Get(Handle);
8870 extern (C) void CanvasTextDrawingStyles_direction_Set(Handle, CanvasDirection);
8871 extern (C) CanvasDirection CanvasTextDrawingStyles_direction_Get(Handle);
8872 extern (C) void CanvasTransform_scale(Handle, double, double);
8873 extern (C) void CanvasTransform_rotate(Handle, double);
8874 extern (C) void CanvasTransform_translate(Handle, double, double);
8875 extern (C) void CanvasTransform_transform(Handle, double, double, double, double, double, double);
8876 extern (C) Handle CanvasTransform_getTransform(Handle);
8877 extern (C) void CanvasTransform_setTransform__double_double_double_double_double_double(Handle, double, double, double, double, double, double);
8878 extern (C) void CanvasTransform_setTransform__Handle(Handle, Handle);
8879 extern (C) void CanvasTransform_setTransform_0(Handle);
8880 extern (C) void CanvasTransform_resetTransform(Handle);
8881 extern (C) void CanvasUserInterface_drawFocusIfNeeded__Handle(Handle, Handle);
8882 extern (C) void CanvasUserInterface_drawFocusIfNeeded__Handle_Handle(Handle, Handle, Handle);
8883 extern (C) void CanvasUserInterface_scrollPathIntoView__(Handle);
8884 extern (C) void CanvasUserInterface_scrollPathIntoView__Handle(Handle, Handle);
8885 extern (C) bool CloseEvent_wasClean_Get(Handle);
8886 extern (C) ushort CloseEvent_code_Get(Handle);
8887 extern (C) string CloseEvent_reason_Get(Handle);
8888 extern (C) void CloseEventInit_wasClean_Set(Handle, bool);
8889 extern (C) bool CloseEventInit_wasClean_Get(Handle);
8890 extern (C) void CloseEventInit_code_Set(Handle, ushort);
8891 extern (C) ushort CloseEventInit_code_Get(Handle);
8892 extern (C) void CloseEventInit_reason_Set(Handle, string);
8893 extern (C) string CloseEventInit_reason_Get(Handle);
8894 extern (C) void CustomElementRegistry_define(Handle, string, CustomElementConstructor, Handle);
8895 extern (C) void CustomElementRegistry_define_0(Handle, string, CustomElementConstructor);
8896 extern (C) Handle CustomElementRegistry_get(Handle, string);
8897 extern (C) Handle CustomElementRegistry_whenDefined(Handle, string);
8898 extern (C) void CustomElementRegistry_upgrade(Handle, Handle);
8899 extern (C) uint DOMStringList_length_Get(Handle);
8900 extern (C) Optional!(string) DOMStringList_item_getter(Handle, uint);
8901 extern (C) bool DOMStringList_contains(Handle, string);
8902 extern (C) string DOMStringMap_getter__string(Handle, string);
8903 extern (C) void DOMStringMap_setter__string_string(Handle, string, string);
8904 extern (C) void DOMStringMap_deleter(Handle, string);
8905 extern (C) void DataTransfer_dropEffect_Set(Handle, string);
8906 extern (C) string DataTransfer_dropEffect_Get(Handle);
8907 extern (C) void DataTransfer_effectAllowed_Set(Handle, string);
8908 extern (C) string DataTransfer_effectAllowed_Get(Handle);
8909 extern (C) Handle DataTransfer_items_Get(Handle);
8910 extern (C) void DataTransfer_setDragImage(Handle, Handle, int, int);
8911 extern (C) Handle DataTransfer_types_Get(Handle);
8912 extern (C) string DataTransfer_getData(Handle, string);
8913 extern (C) void DataTransfer_setData(Handle, string, string);
8914 extern (C) void DataTransfer_clearData(Handle, string);
8915 extern (C) void DataTransfer_clearData_0(Handle);
8916 extern (C) Handle DataTransfer_files_Get(Handle);
8917 extern (C) string DataTransferItem_kind_Get(Handle);
8918 extern (C) string DataTransferItem_type_Get(Handle);
8919 extern (C) void DataTransferItem_getAsString(Handle, bool, FunctionStringCallback);
8920 extern (C) Optional!(File) DataTransferItem_getAsFile(Handle);
8921 extern (C) uint DataTransferItemList_length_Get(Handle);
8922 extern (C) Handle DataTransferItemList_getter__uint(Handle, uint);
8923 extern (C) Optional!(DataTransferItem) DataTransferItemList_add__string_string(Handle, string, string);
8924 extern (C) Optional!(DataTransferItem) DataTransferItemList_add__Handle(Handle, Handle);
8925 extern (C) void DataTransferItemList_remove(Handle, uint);
8926 extern (C) void DataTransferItemList_clear(Handle);
8927 extern (C) string DedicatedWorkerGlobalScope_name_Get(Handle);
8928 extern (C) void DedicatedWorkerGlobalScope_postMessage__Handle_sequence(Handle, Handle, Handle);
8929 extern (C) void DedicatedWorkerGlobalScope_postMessage__Handle_Handle(Handle, Handle, Handle);
8930 extern (C) void DedicatedWorkerGlobalScope_postMessage_0(Handle, Handle);
8931 extern (C) void DedicatedWorkerGlobalScope_close(Handle);
8932 extern (C) void DedicatedWorkerGlobalScope_onmessage_Set(Handle, EventHandler);
8933 extern (C) EventHandler DedicatedWorkerGlobalScope_onmessage_Get(Handle);
8934 extern (C) void DedicatedWorkerGlobalScope_onmessageerror_Set(Handle, EventHandler);
8935 extern (C) EventHandler DedicatedWorkerGlobalScope_onmessageerror_Get(Handle);
8936 extern (C) void DocumentAndElementEventHandlers_oncopy_Set(Handle, EventHandler);
8937 extern (C) EventHandler DocumentAndElementEventHandlers_oncopy_Get(Handle);
8938 extern (C) void DocumentAndElementEventHandlers_oncut_Set(Handle, EventHandler);
8939 extern (C) EventHandler DocumentAndElementEventHandlers_oncut_Get(Handle);
8940 extern (C) void DocumentAndElementEventHandlers_onpaste_Set(Handle, EventHandler);
8941 extern (C) EventHandler DocumentAndElementEventHandlers_onpaste_Get(Handle);
8942 extern (C) Optional!(DataTransfer) DragEvent_dataTransfer_Get(Handle);
8943 extern (C) void DragEventInit_dataTransfer_Set(Handle, bool, Handle);
8944 extern (C) Optional!(DataTransfer) DragEventInit_dataTransfer_Get(Handle);
8945 extern (C) void ElementContentEditable_contentEditable_Set(Handle, string);
8946 extern (C) string ElementContentEditable_contentEditable_Get(Handle);
8947 extern (C) void ElementContentEditable_enterKeyHint_Set(Handle, string);
8948 extern (C) string ElementContentEditable_enterKeyHint_Get(Handle);
8949 extern (C) bool ElementContentEditable_isContentEditable_Get(Handle);
8950 extern (C) void ElementContentEditable_inputMode_Set(Handle, string);
8951 extern (C) string ElementContentEditable_inputMode_Get(Handle);
8952 extern (C) void ElementDefinitionOptions_extends_Set(Handle, string);
8953 extern (C) string ElementDefinitionOptions_extends_Get(Handle);
8954 extern (C) string ErrorEvent_message_Get(Handle);
8955 extern (C) string ErrorEvent_filename_Get(Handle);
8956 extern (C) uint ErrorEvent_lineno_Get(Handle);
8957 extern (C) uint ErrorEvent_colno_Get(Handle);
8958 extern (C) Handle ErrorEvent_error_Get(Handle);
8959 extern (C) void ErrorEventInit_message_Set(Handle, string);
8960 extern (C) string ErrorEventInit_message_Get(Handle);
8961 extern (C) void ErrorEventInit_filename_Set(Handle, string);
8962 extern (C) string ErrorEventInit_filename_Get(Handle);
8963 extern (C) void ErrorEventInit_lineno_Set(Handle, uint);
8964 extern (C) uint ErrorEventInit_lineno_Get(Handle);
8965 extern (C) void ErrorEventInit_colno_Set(Handle, uint);
8966 extern (C) uint ErrorEventInit_colno_Get(Handle);
8967 extern (C) void ErrorEventInit_error_Set(Handle, Handle);
8968 extern (C) Handle ErrorEventInit_error_Get(Handle);
8969 extern (C) string EventSource_url_Get(Handle);
8970 extern (C) bool EventSource_withCredentials_Get(Handle);
8971 extern (C) ushort EventSource_readyState_Get(Handle);
8972 extern (C) void EventSource_onopen_Set(Handle, EventHandler);
8973 extern (C) EventHandler EventSource_onopen_Get(Handle);
8974 extern (C) void EventSource_onmessage_Set(Handle, EventHandler);
8975 extern (C) EventHandler EventSource_onmessage_Get(Handle);
8976 extern (C) void EventSource_onerror_Set(Handle, EventHandler);
8977 extern (C) EventHandler EventSource_onerror_Get(Handle);
8978 extern (C) void EventSource_close(Handle);
8979 extern (C) void EventSourceInit_withCredentials_Set(Handle, bool);
8980 extern (C) bool EventSourceInit_withCredentials_Get(Handle);
8981 extern (C) void External_AddSearchProvider(Handle);
8982 extern (C) void External_IsSearchProviderInstalled(Handle);
8983 extern (C) void FocusOptions_preventScroll_Set(Handle, bool);
8984 extern (C) bool FocusOptions_preventScroll_Get(Handle);
8985 extern (C) void GlobalEventHandlers_onabort_Set(Handle, EventHandler);
8986 extern (C) EventHandler GlobalEventHandlers_onabort_Get(Handle);
8987 extern (C) void GlobalEventHandlers_onauxclick_Set(Handle, EventHandler);
8988 extern (C) EventHandler GlobalEventHandlers_onauxclick_Get(Handle);
8989 extern (C) void GlobalEventHandlers_onblur_Set(Handle, EventHandler);
8990 extern (C) EventHandler GlobalEventHandlers_onblur_Get(Handle);
8991 extern (C) void GlobalEventHandlers_oncancel_Set(Handle, EventHandler);
8992 extern (C) EventHandler GlobalEventHandlers_oncancel_Get(Handle);
8993 extern (C) void GlobalEventHandlers_oncanplay_Set(Handle, EventHandler);
8994 extern (C) EventHandler GlobalEventHandlers_oncanplay_Get(Handle);
8995 extern (C) void GlobalEventHandlers_oncanplaythrough_Set(Handle, EventHandler);
8996 extern (C) EventHandler GlobalEventHandlers_oncanplaythrough_Get(Handle);
8997 extern (C) void GlobalEventHandlers_onchange_Set(Handle, EventHandler);
8998 extern (C) EventHandler GlobalEventHandlers_onchange_Get(Handle);
8999 extern (C) void GlobalEventHandlers_onclick_Set(Handle, EventHandler);
9000 extern (C) EventHandler GlobalEventHandlers_onclick_Get(Handle);
9001 extern (C) void GlobalEventHandlers_onclose_Set(Handle, EventHandler);
9002 extern (C) EventHandler GlobalEventHandlers_onclose_Get(Handle);
9003 extern (C) void GlobalEventHandlers_oncontextmenu_Set(Handle, EventHandler);
9004 extern (C) EventHandler GlobalEventHandlers_oncontextmenu_Get(Handle);
9005 extern (C) void GlobalEventHandlers_oncuechange_Set(Handle, EventHandler);
9006 extern (C) EventHandler GlobalEventHandlers_oncuechange_Get(Handle);
9007 extern (C) void GlobalEventHandlers_ondblclick_Set(Handle, EventHandler);
9008 extern (C) EventHandler GlobalEventHandlers_ondblclick_Get(Handle);
9009 extern (C) void GlobalEventHandlers_ondrag_Set(Handle, EventHandler);
9010 extern (C) EventHandler GlobalEventHandlers_ondrag_Get(Handle);
9011 extern (C) void GlobalEventHandlers_ondragend_Set(Handle, EventHandler);
9012 extern (C) EventHandler GlobalEventHandlers_ondragend_Get(Handle);
9013 extern (C) void GlobalEventHandlers_ondragenter_Set(Handle, EventHandler);
9014 extern (C) EventHandler GlobalEventHandlers_ondragenter_Get(Handle);
9015 extern (C) void GlobalEventHandlers_ondragexit_Set(Handle, EventHandler);
9016 extern (C) EventHandler GlobalEventHandlers_ondragexit_Get(Handle);
9017 extern (C) void GlobalEventHandlers_ondragleave_Set(Handle, EventHandler);
9018 extern (C) EventHandler GlobalEventHandlers_ondragleave_Get(Handle);
9019 extern (C) void GlobalEventHandlers_ondragover_Set(Handle, EventHandler);
9020 extern (C) EventHandler GlobalEventHandlers_ondragover_Get(Handle);
9021 extern (C) void GlobalEventHandlers_ondragstart_Set(Handle, EventHandler);
9022 extern (C) EventHandler GlobalEventHandlers_ondragstart_Get(Handle);
9023 extern (C) void GlobalEventHandlers_ondrop_Set(Handle, EventHandler);
9024 extern (C) EventHandler GlobalEventHandlers_ondrop_Get(Handle);
9025 extern (C) void GlobalEventHandlers_ondurationchange_Set(Handle, EventHandler);
9026 extern (C) EventHandler GlobalEventHandlers_ondurationchange_Get(Handle);
9027 extern (C) void GlobalEventHandlers_onemptied_Set(Handle, EventHandler);
9028 extern (C) EventHandler GlobalEventHandlers_onemptied_Get(Handle);
9029 extern (C) void GlobalEventHandlers_onended_Set(Handle, EventHandler);
9030 extern (C) EventHandler GlobalEventHandlers_onended_Get(Handle);
9031 extern (C) void GlobalEventHandlers_onerror_Set(Handle, bool, OnErrorEventHandlerNonNull);
9032 extern (C) OnErrorEventHandler GlobalEventHandlers_onerror_Get(Handle);
9033 extern (C) void GlobalEventHandlers_onfocus_Set(Handle, EventHandler);
9034 extern (C) EventHandler GlobalEventHandlers_onfocus_Get(Handle);
9035 extern (C) void GlobalEventHandlers_oninput_Set(Handle, EventHandler);
9036 extern (C) EventHandler GlobalEventHandlers_oninput_Get(Handle);
9037 extern (C) void GlobalEventHandlers_oninvalid_Set(Handle, EventHandler);
9038 extern (C) EventHandler GlobalEventHandlers_oninvalid_Get(Handle);
9039 extern (C) void GlobalEventHandlers_onkeydown_Set(Handle, EventHandler);
9040 extern (C) EventHandler GlobalEventHandlers_onkeydown_Get(Handle);
9041 extern (C) void GlobalEventHandlers_onkeypress_Set(Handle, EventHandler);
9042 extern (C) EventHandler GlobalEventHandlers_onkeypress_Get(Handle);
9043 extern (C) void GlobalEventHandlers_onkeyup_Set(Handle, EventHandler);
9044 extern (C) EventHandler GlobalEventHandlers_onkeyup_Get(Handle);
9045 extern (C) void GlobalEventHandlers_onload_Set(Handle, EventHandler);
9046 extern (C) EventHandler GlobalEventHandlers_onload_Get(Handle);
9047 extern (C) void GlobalEventHandlers_onloadeddata_Set(Handle, EventHandler);
9048 extern (C) EventHandler GlobalEventHandlers_onloadeddata_Get(Handle);
9049 extern (C) void GlobalEventHandlers_onloadedmetadata_Set(Handle, EventHandler);
9050 extern (C) EventHandler GlobalEventHandlers_onloadedmetadata_Get(Handle);
9051 extern (C) void GlobalEventHandlers_onloadend_Set(Handle, EventHandler);
9052 extern (C) EventHandler GlobalEventHandlers_onloadend_Get(Handle);
9053 extern (C) void GlobalEventHandlers_onloadstart_Set(Handle, EventHandler);
9054 extern (C) EventHandler GlobalEventHandlers_onloadstart_Get(Handle);
9055 extern (C) void GlobalEventHandlers_onmousedown_Set(Handle, EventHandler);
9056 extern (C) EventHandler GlobalEventHandlers_onmousedown_Get(Handle);
9057 extern (C) void GlobalEventHandlers_onmouseenter_Set(Handle, EventHandler);
9058 extern (C) EventHandler GlobalEventHandlers_onmouseenter_Get(Handle);
9059 extern (C) void GlobalEventHandlers_onmouseleave_Set(Handle, EventHandler);
9060 extern (C) EventHandler GlobalEventHandlers_onmouseleave_Get(Handle);
9061 extern (C) void GlobalEventHandlers_onmousemove_Set(Handle, EventHandler);
9062 extern (C) EventHandler GlobalEventHandlers_onmousemove_Get(Handle);
9063 extern (C) void GlobalEventHandlers_onmouseout_Set(Handle, EventHandler);
9064 extern (C) EventHandler GlobalEventHandlers_onmouseout_Get(Handle);
9065 extern (C) void GlobalEventHandlers_onmouseover_Set(Handle, EventHandler);
9066 extern (C) EventHandler GlobalEventHandlers_onmouseover_Get(Handle);
9067 extern (C) void GlobalEventHandlers_onmouseup_Set(Handle, EventHandler);
9068 extern (C) EventHandler GlobalEventHandlers_onmouseup_Get(Handle);
9069 extern (C) void GlobalEventHandlers_onwheel_Set(Handle, EventHandler);
9070 extern (C) EventHandler GlobalEventHandlers_onwheel_Get(Handle);
9071 extern (C) void GlobalEventHandlers_onpause_Set(Handle, EventHandler);
9072 extern (C) EventHandler GlobalEventHandlers_onpause_Get(Handle);
9073 extern (C) void GlobalEventHandlers_onplay_Set(Handle, EventHandler);
9074 extern (C) EventHandler GlobalEventHandlers_onplay_Get(Handle);
9075 extern (C) void GlobalEventHandlers_onplaying_Set(Handle, EventHandler);
9076 extern (C) EventHandler GlobalEventHandlers_onplaying_Get(Handle);
9077 extern (C) void GlobalEventHandlers_onprogress_Set(Handle, EventHandler);
9078 extern (C) EventHandler GlobalEventHandlers_onprogress_Get(Handle);
9079 extern (C) void GlobalEventHandlers_onratechange_Set(Handle, EventHandler);
9080 extern (C) EventHandler GlobalEventHandlers_onratechange_Get(Handle);
9081 extern (C) void GlobalEventHandlers_onreset_Set(Handle, EventHandler);
9082 extern (C) EventHandler GlobalEventHandlers_onreset_Get(Handle);
9083 extern (C) void GlobalEventHandlers_onresize_Set(Handle, EventHandler);
9084 extern (C) EventHandler GlobalEventHandlers_onresize_Get(Handle);
9085 extern (C) void GlobalEventHandlers_onscroll_Set(Handle, EventHandler);
9086 extern (C) EventHandler GlobalEventHandlers_onscroll_Get(Handle);
9087 extern (C) void GlobalEventHandlers_onsecuritypolicyviolation_Set(Handle, EventHandler);
9088 extern (C) EventHandler GlobalEventHandlers_onsecuritypolicyviolation_Get(Handle);
9089 extern (C) void GlobalEventHandlers_onseeked_Set(Handle, EventHandler);
9090 extern (C) EventHandler GlobalEventHandlers_onseeked_Get(Handle);
9091 extern (C) void GlobalEventHandlers_onseeking_Set(Handle, EventHandler);
9092 extern (C) EventHandler GlobalEventHandlers_onseeking_Get(Handle);
9093 extern (C) void GlobalEventHandlers_onselect_Set(Handle, EventHandler);
9094 extern (C) EventHandler GlobalEventHandlers_onselect_Get(Handle);
9095 extern (C) void GlobalEventHandlers_onstalled_Set(Handle, EventHandler);
9096 extern (C) EventHandler GlobalEventHandlers_onstalled_Get(Handle);
9097 extern (C) void GlobalEventHandlers_onsubmit_Set(Handle, EventHandler);
9098 extern (C) EventHandler GlobalEventHandlers_onsubmit_Get(Handle);
9099 extern (C) void GlobalEventHandlers_onsuspend_Set(Handle, EventHandler);
9100 extern (C) EventHandler GlobalEventHandlers_onsuspend_Get(Handle);
9101 extern (C) void GlobalEventHandlers_ontimeupdate_Set(Handle, EventHandler);
9102 extern (C) EventHandler GlobalEventHandlers_ontimeupdate_Get(Handle);
9103 extern (C) void GlobalEventHandlers_ontoggle_Set(Handle, EventHandler);
9104 extern (C) EventHandler GlobalEventHandlers_ontoggle_Get(Handle);
9105 extern (C) void GlobalEventHandlers_onvolumechange_Set(Handle, EventHandler);
9106 extern (C) EventHandler GlobalEventHandlers_onvolumechange_Get(Handle);
9107 extern (C) void GlobalEventHandlers_onwaiting_Set(Handle, EventHandler);
9108 extern (C) EventHandler GlobalEventHandlers_onwaiting_Get(Handle);
9109 extern (C) void GlobalEventHandlers_ongotpointercapture_Set(Handle, EventHandler);
9110 extern (C) EventHandler GlobalEventHandlers_ongotpointercapture_Get(Handle);
9111 extern (C) void GlobalEventHandlers_onlostpointercapture_Set(Handle, EventHandler);
9112 extern (C) EventHandler GlobalEventHandlers_onlostpointercapture_Get(Handle);
9113 extern (C) void GlobalEventHandlers_onpointerdown_Set(Handle, EventHandler);
9114 extern (C) EventHandler GlobalEventHandlers_onpointerdown_Get(Handle);
9115 extern (C) void GlobalEventHandlers_onpointermove_Set(Handle, EventHandler);
9116 extern (C) EventHandler GlobalEventHandlers_onpointermove_Get(Handle);
9117 extern (C) void GlobalEventHandlers_onpointerup_Set(Handle, EventHandler);
9118 extern (C) EventHandler GlobalEventHandlers_onpointerup_Get(Handle);
9119 extern (C) void GlobalEventHandlers_onpointercancel_Set(Handle, EventHandler);
9120 extern (C) EventHandler GlobalEventHandlers_onpointercancel_Get(Handle);
9121 extern (C) void GlobalEventHandlers_onpointerover_Set(Handle, EventHandler);
9122 extern (C) EventHandler GlobalEventHandlers_onpointerover_Get(Handle);
9123 extern (C) void GlobalEventHandlers_onpointerout_Set(Handle, EventHandler);
9124 extern (C) EventHandler GlobalEventHandlers_onpointerout_Get(Handle);
9125 extern (C) void GlobalEventHandlers_onpointerenter_Set(Handle, EventHandler);
9126 extern (C) EventHandler GlobalEventHandlers_onpointerenter_Get(Handle);
9127 extern (C) void GlobalEventHandlers_onpointerleave_Set(Handle, EventHandler);
9128 extern (C) EventHandler GlobalEventHandlers_onpointerleave_Get(Handle);
9129 extern (C) void GlobalEventHandlers_ontouchstart_Set(Handle, EventHandler);
9130 extern (C) EventHandler GlobalEventHandlers_ontouchstart_Get(Handle);
9131 extern (C) void GlobalEventHandlers_ontouchend_Set(Handle, EventHandler);
9132 extern (C) EventHandler GlobalEventHandlers_ontouchend_Get(Handle);
9133 extern (C) void GlobalEventHandlers_ontouchmove_Set(Handle, EventHandler);
9134 extern (C) EventHandler GlobalEventHandlers_ontouchmove_Get(Handle);
9135 extern (C) void GlobalEventHandlers_ontouchcancel_Set(Handle, EventHandler);
9136 extern (C) EventHandler GlobalEventHandlers_ontouchcancel_Get(Handle);
9137 extern (C) uint HTMLAllCollection_length_Get(Handle);
9138 extern (C) Handle HTMLAllCollection_getter__uint(Handle, uint);
9139 extern (C) Optional!(SumType!(HTMLCollection, Element)) HTMLAllCollection_namedItem_getter(Handle, string);
9140 extern (C) Optional!(SumType!(HTMLCollection, Element)) HTMLAllCollection_item(Handle, string);
9141 extern (C) Optional!(SumType!(HTMLCollection, Element)) HTMLAllCollection_item_0(Handle);
9142 extern (C) void HTMLAnchorElement_target_Set(Handle, string);
9143 extern (C) string HTMLAnchorElement_target_Get(Handle);
9144 extern (C) void HTMLAnchorElement_download_Set(Handle, string);
9145 extern (C) string HTMLAnchorElement_download_Get(Handle);
9146 extern (C) void HTMLAnchorElement_ping_Set(Handle, string);
9147 extern (C) string HTMLAnchorElement_ping_Get(Handle);
9148 extern (C) void HTMLAnchorElement_rel_Set(Handle, string);
9149 extern (C) string HTMLAnchorElement_rel_Get(Handle);
9150 extern (C) Handle HTMLAnchorElement_relList_Get(Handle);
9151 extern (C) void HTMLAnchorElement_hreflang_Set(Handle, string);
9152 extern (C) string HTMLAnchorElement_hreflang_Get(Handle);
9153 extern (C) void HTMLAnchorElement_type_Set(Handle, string);
9154 extern (C) string HTMLAnchorElement_type_Get(Handle);
9155 extern (C) void HTMLAnchorElement_text_Set(Handle, string);
9156 extern (C) string HTMLAnchorElement_text_Get(Handle);
9157 extern (C) void HTMLAnchorElement_referrerPolicy_Set(Handle, string);
9158 extern (C) string HTMLAnchorElement_referrerPolicy_Get(Handle);
9159 extern (C) void HTMLAnchorElement_coords_Set(Handle, string);
9160 extern (C) string HTMLAnchorElement_coords_Get(Handle);
9161 extern (C) void HTMLAnchorElement_charset_Set(Handle, string);
9162 extern (C) string HTMLAnchorElement_charset_Get(Handle);
9163 extern (C) void HTMLAnchorElement_name_Set(Handle, string);
9164 extern (C) string HTMLAnchorElement_name_Get(Handle);
9165 extern (C) void HTMLAnchorElement_rev_Set(Handle, string);
9166 extern (C) string HTMLAnchorElement_rev_Get(Handle);
9167 extern (C) void HTMLAnchorElement_shape_Set(Handle, string);
9168 extern (C) string HTMLAnchorElement_shape_Get(Handle);
9169 extern (C) void HTMLAreaElement_alt_Set(Handle, string);
9170 extern (C) string HTMLAreaElement_alt_Get(Handle);
9171 extern (C) void HTMLAreaElement_coords_Set(Handle, string);
9172 extern (C) string HTMLAreaElement_coords_Get(Handle);
9173 extern (C) void HTMLAreaElement_shape_Set(Handle, string);
9174 extern (C) string HTMLAreaElement_shape_Get(Handle);
9175 extern (C) void HTMLAreaElement_target_Set(Handle, string);
9176 extern (C) string HTMLAreaElement_target_Get(Handle);
9177 extern (C) void HTMLAreaElement_download_Set(Handle, string);
9178 extern (C) string HTMLAreaElement_download_Get(Handle);
9179 extern (C) void HTMLAreaElement_ping_Set(Handle, string);
9180 extern (C) string HTMLAreaElement_ping_Get(Handle);
9181 extern (C) void HTMLAreaElement_rel_Set(Handle, string);
9182 extern (C) string HTMLAreaElement_rel_Get(Handle);
9183 extern (C) Handle HTMLAreaElement_relList_Get(Handle);
9184 extern (C) void HTMLAreaElement_referrerPolicy_Set(Handle, string);
9185 extern (C) string HTMLAreaElement_referrerPolicy_Get(Handle);
9186 extern (C) void HTMLAreaElement_noHref_Set(Handle, bool);
9187 extern (C) bool HTMLAreaElement_noHref_Get(Handle);
9188 extern (C) void HTMLBRElement_clear_Set(Handle, string);
9189 extern (C) string HTMLBRElement_clear_Get(Handle);
9190 extern (C) void HTMLBaseElement_href_Set(Handle, string);
9191 extern (C) string HTMLBaseElement_href_Get(Handle);
9192 extern (C) void HTMLBaseElement_target_Set(Handle, string);
9193 extern (C) string HTMLBaseElement_target_Get(Handle);
9194 extern (C) void HTMLBodyElement_text_Set(Handle, string);
9195 extern (C) string HTMLBodyElement_text_Get(Handle);
9196 extern (C) void HTMLBodyElement_link_Set(Handle, string);
9197 extern (C) string HTMLBodyElement_link_Get(Handle);
9198 extern (C) void HTMLBodyElement_vLink_Set(Handle, string);
9199 extern (C) string HTMLBodyElement_vLink_Get(Handle);
9200 extern (C) void HTMLBodyElement_aLink_Set(Handle, string);
9201 extern (C) string HTMLBodyElement_aLink_Get(Handle);
9202 extern (C) void HTMLBodyElement_bgColor_Set(Handle, string);
9203 extern (C) string HTMLBodyElement_bgColor_Get(Handle);
9204 extern (C) void HTMLBodyElement_background_Set(Handle, string);
9205 extern (C) string HTMLBodyElement_background_Get(Handle);
9206 extern (C) void HTMLBodyElement_onorientationchange_Set(Handle, EventHandler);
9207 extern (C) EventHandler HTMLBodyElement_onorientationchange_Get(Handle);
9208 extern (C) void HTMLButtonElement_autofocus_Set(Handle, bool);
9209 extern (C) bool HTMLButtonElement_autofocus_Get(Handle);
9210 extern (C) void HTMLButtonElement_disabled_Set(Handle, bool);
9211 extern (C) bool HTMLButtonElement_disabled_Get(Handle);
9212 extern (C) Optional!(HTMLFormElement) HTMLButtonElement_form_Get(Handle);
9213 extern (C) void HTMLButtonElement_formAction_Set(Handle, string);
9214 extern (C) string HTMLButtonElement_formAction_Get(Handle);
9215 extern (C) void HTMLButtonElement_formEnctype_Set(Handle, string);
9216 extern (C) string HTMLButtonElement_formEnctype_Get(Handle);
9217 extern (C) void HTMLButtonElement_formMethod_Set(Handle, string);
9218 extern (C) string HTMLButtonElement_formMethod_Get(Handle);
9219 extern (C) void HTMLButtonElement_formNoValidate_Set(Handle, bool);
9220 extern (C) bool HTMLButtonElement_formNoValidate_Get(Handle);
9221 extern (C) void HTMLButtonElement_formTarget_Set(Handle, string);
9222 extern (C) string HTMLButtonElement_formTarget_Get(Handle);
9223 extern (C) void HTMLButtonElement_name_Set(Handle, string);
9224 extern (C) string HTMLButtonElement_name_Get(Handle);
9225 extern (C) void HTMLButtonElement_type_Set(Handle, string);
9226 extern (C) string HTMLButtonElement_type_Get(Handle);
9227 extern (C) void HTMLButtonElement_value_Set(Handle, string);
9228 extern (C) string HTMLButtonElement_value_Get(Handle);
9229 extern (C) bool HTMLButtonElement_willValidate_Get(Handle);
9230 extern (C) Handle HTMLButtonElement_validity_Get(Handle);
9231 extern (C) string HTMLButtonElement_validationMessage_Get(Handle);
9232 extern (C) bool HTMLButtonElement_checkValidity(Handle);
9233 extern (C) bool HTMLButtonElement_reportValidity(Handle);
9234 extern (C) void HTMLButtonElement_setCustomValidity(Handle, string);
9235 extern (C) Handle HTMLButtonElement_labels_Get(Handle);
9236 extern (C) void HTMLCanvasElement_width_Set(Handle, uint);
9237 extern (C) uint HTMLCanvasElement_width_Get(Handle);
9238 extern (C) void HTMLCanvasElement_height_Set(Handle, uint);
9239 extern (C) uint HTMLCanvasElement_height_Get(Handle);
9240 extern (C) Optional!(RenderingContext) HTMLCanvasElement_getContext(Handle, string, Handle);
9241 extern (C) Optional!(RenderingContext) HTMLCanvasElement_getContext_0(Handle, string);
9242 extern (C) string HTMLCanvasElement_toDataURL(Handle, string, Handle);
9243 extern (C) string HTMLCanvasElement_toDataURL_0(Handle, string);
9244 extern (C) string HTMLCanvasElement_toDataURL_1(Handle);
9245 extern (C) void HTMLCanvasElement_toBlob(Handle, BlobCallback, string, Handle);
9246 extern (C) void HTMLCanvasElement_toBlob_0(Handle, BlobCallback, string);
9247 extern (C) void HTMLCanvasElement_toBlob_1(Handle, BlobCallback);
9248 extern (C) Handle HTMLCanvasElement_transferControlToOffscreen(Handle);
9249 extern (C) void HTMLDListElement_compact_Set(Handle, bool);
9250 extern (C) bool HTMLDListElement_compact_Get(Handle);
9251 extern (C) void HTMLDataElement_value_Set(Handle, string);
9252 extern (C) string HTMLDataElement_value_Get(Handle);
9253 extern (C) Handle HTMLDataListElement_options_Get(Handle);
9254 extern (C) void HTMLDetailsElement_open_Set(Handle, bool);
9255 extern (C) bool HTMLDetailsElement_open_Get(Handle);
9256 extern (C) void HTMLDialogElement_open_Set(Handle, bool);
9257 extern (C) bool HTMLDialogElement_open_Get(Handle);
9258 extern (C) void HTMLDialogElement_returnValue_Set(Handle, string);
9259 extern (C) string HTMLDialogElement_returnValue_Get(Handle);
9260 extern (C) void HTMLDialogElement_show(Handle);
9261 extern (C) void HTMLDialogElement_showModal(Handle);
9262 extern (C) void HTMLDialogElement_close(Handle, string);
9263 extern (C) void HTMLDialogElement_close_0(Handle);
9264 extern (C) void HTMLDirectoryElement_compact_Set(Handle, bool);
9265 extern (C) bool HTMLDirectoryElement_compact_Get(Handle);
9266 extern (C) void HTMLDivElement_align_Set(Handle, string);
9267 extern (C) string HTMLDivElement_align_Get(Handle);
9268 extern (C) void HTMLElement_title_Set(Handle, string);
9269 extern (C) string HTMLElement_title_Get(Handle);
9270 extern (C) void HTMLElement_lang_Set(Handle, string);
9271 extern (C) string HTMLElement_lang_Get(Handle);
9272 extern (C) void HTMLElement_translate_Set(Handle, bool);
9273 extern (C) bool HTMLElement_translate_Get(Handle);
9274 extern (C) void HTMLElement_dir_Set(Handle, string);
9275 extern (C) string HTMLElement_dir_Get(Handle);
9276 extern (C) void HTMLElement_hidden_Set(Handle, bool);
9277 extern (C) bool HTMLElement_hidden_Get(Handle);
9278 extern (C) void HTMLElement_click(Handle);
9279 extern (C) void HTMLElement_accessKey_Set(Handle, string);
9280 extern (C) string HTMLElement_accessKey_Get(Handle);
9281 extern (C) string HTMLElement_accessKeyLabel_Get(Handle);
9282 extern (C) void HTMLElement_draggable_Set(Handle, bool);
9283 extern (C) bool HTMLElement_draggable_Get(Handle);
9284 extern (C) void HTMLElement_spellcheck_Set(Handle, bool);
9285 extern (C) bool HTMLElement_spellcheck_Get(Handle);
9286 extern (C) void HTMLElement_autocapitalize_Set(Handle, string);
9287 extern (C) string HTMLElement_autocapitalize_Get(Handle);
9288 extern (C) void HTMLElement_innerText_Set(Handle, string);
9289 extern (C) string HTMLElement_innerText_Get(Handle);
9290 extern (C) Optional!(Element) HTMLElement_offsetParent_Get(Handle);
9291 extern (C) int HTMLElement_offsetTop_Get(Handle);
9292 extern (C) int HTMLElement_offsetLeft_Get(Handle);
9293 extern (C) int HTMLElement_offsetWidth_Get(Handle);
9294 extern (C) int HTMLElement_offsetHeight_Get(Handle);
9295 extern (C) void HTMLEmbedElement_src_Set(Handle, string);
9296 extern (C) string HTMLEmbedElement_src_Get(Handle);
9297 extern (C) void HTMLEmbedElement_type_Set(Handle, string);
9298 extern (C) string HTMLEmbedElement_type_Get(Handle);
9299 extern (C) void HTMLEmbedElement_width_Set(Handle, string);
9300 extern (C) string HTMLEmbedElement_width_Get(Handle);
9301 extern (C) void HTMLEmbedElement_height_Set(Handle, string);
9302 extern (C) string HTMLEmbedElement_height_Get(Handle);
9303 extern (C) Optional!(Document) HTMLEmbedElement_getSVGDocument(Handle);
9304 extern (C) void HTMLEmbedElement_align_Set(Handle, string);
9305 extern (C) string HTMLEmbedElement_align_Get(Handle);
9306 extern (C) void HTMLEmbedElement_name_Set(Handle, string);
9307 extern (C) string HTMLEmbedElement_name_Get(Handle);
9308 extern (C) void HTMLFieldSetElement_disabled_Set(Handle, bool);
9309 extern (C) bool HTMLFieldSetElement_disabled_Get(Handle);
9310 extern (C) Optional!(HTMLFormElement) HTMLFieldSetElement_form_Get(Handle);
9311 extern (C) void HTMLFieldSetElement_name_Set(Handle, string);
9312 extern (C) string HTMLFieldSetElement_name_Get(Handle);
9313 extern (C) string HTMLFieldSetElement_type_Get(Handle);
9314 extern (C) Handle HTMLFieldSetElement_elements_Get(Handle);
9315 extern (C) bool HTMLFieldSetElement_willValidate_Get(Handle);
9316 extern (C) Handle HTMLFieldSetElement_validity_Get(Handle);
9317 extern (C) string HTMLFieldSetElement_validationMessage_Get(Handle);
9318 extern (C) bool HTMLFieldSetElement_checkValidity(Handle);
9319 extern (C) bool HTMLFieldSetElement_reportValidity(Handle);
9320 extern (C) void HTMLFieldSetElement_setCustomValidity(Handle, string);
9321 extern (C) void HTMLFontElement_color_Set(Handle, string);
9322 extern (C) string HTMLFontElement_color_Get(Handle);
9323 extern (C) void HTMLFontElement_face_Set(Handle, string);
9324 extern (C) string HTMLFontElement_face_Get(Handle);
9325 extern (C) void HTMLFontElement_size_Set(Handle, string);
9326 extern (C) string HTMLFontElement_size_Get(Handle);
9327 extern (C) Optional!(SumType!(RadioNodeList, Element)) HTMLFormControlsCollection_namedItem_getter(Handle, string);
9328 extern (C) void HTMLFormElement_acceptCharset_Set(Handle, string);
9329 extern (C) string HTMLFormElement_acceptCharset_Get(Handle);
9330 extern (C) void HTMLFormElement_action_Set(Handle, string);
9331 extern (C) string HTMLFormElement_action_Get(Handle);
9332 extern (C) void HTMLFormElement_autocomplete_Set(Handle, string);
9333 extern (C) string HTMLFormElement_autocomplete_Get(Handle);
9334 extern (C) void HTMLFormElement_enctype_Set(Handle, string);
9335 extern (C) string HTMLFormElement_enctype_Get(Handle);
9336 extern (C) void HTMLFormElement_encoding_Set(Handle, string);
9337 extern (C) string HTMLFormElement_encoding_Get(Handle);
9338 extern (C) void HTMLFormElement_method_Set(Handle, string);
9339 extern (C) string HTMLFormElement_method_Get(Handle);
9340 extern (C) void HTMLFormElement_name_Set(Handle, string);
9341 extern (C) string HTMLFormElement_name_Get(Handle);
9342 extern (C) void HTMLFormElement_noValidate_Set(Handle, bool);
9343 extern (C) bool HTMLFormElement_noValidate_Get(Handle);
9344 extern (C) void HTMLFormElement_target_Set(Handle, string);
9345 extern (C) string HTMLFormElement_target_Get(Handle);
9346 extern (C) Handle HTMLFormElement_elements_Get(Handle);
9347 extern (C) uint HTMLFormElement_length_Get(Handle);
9348 extern (C) Handle HTMLFormElement_getter__uint(Handle, uint);
9349 extern (C) SumType!(RadioNodeList, Element) HTMLFormElement_getter__string(Handle, string);
9350 extern (C) void HTMLFormElement_submit(Handle);
9351 extern (C) void HTMLFormElement_reset(Handle);
9352 extern (C) bool HTMLFormElement_checkValidity(Handle);
9353 extern (C) bool HTMLFormElement_reportValidity(Handle);
9354 extern (C) void HTMLFrameElement_name_Set(Handle, string);
9355 extern (C) string HTMLFrameElement_name_Get(Handle);
9356 extern (C) void HTMLFrameElement_scrolling_Set(Handle, string);
9357 extern (C) string HTMLFrameElement_scrolling_Get(Handle);
9358 extern (C) void HTMLFrameElement_src_Set(Handle, string);
9359 extern (C) string HTMLFrameElement_src_Get(Handle);
9360 extern (C) void HTMLFrameElement_frameBorder_Set(Handle, string);
9361 extern (C) string HTMLFrameElement_frameBorder_Get(Handle);
9362 extern (C) void HTMLFrameElement_longDesc_Set(Handle, string);
9363 extern (C) string HTMLFrameElement_longDesc_Get(Handle);
9364 extern (C) void HTMLFrameElement_noResize_Set(Handle, bool);
9365 extern (C) bool HTMLFrameElement_noResize_Get(Handle);
9366 extern (C) Optional!(Document) HTMLFrameElement_contentDocument_Get(Handle);
9367 extern (C) Optional!(Window) HTMLFrameElement_contentWindow_Get(Handle);
9368 extern (C) void HTMLFrameElement_marginHeight_Set(Handle, string);
9369 extern (C) string HTMLFrameElement_marginHeight_Get(Handle);
9370 extern (C) void HTMLFrameElement_marginWidth_Set(Handle, string);
9371 extern (C) string HTMLFrameElement_marginWidth_Get(Handle);
9372 extern (C) void HTMLFrameSetElement_cols_Set(Handle, string);
9373 extern (C) string HTMLFrameSetElement_cols_Get(Handle);
9374 extern (C) void HTMLFrameSetElement_rows_Set(Handle, string);
9375 extern (C) string HTMLFrameSetElement_rows_Get(Handle);
9376 extern (C) void HTMLHRElement_align_Set(Handle, string);
9377 extern (C) string HTMLHRElement_align_Get(Handle);
9378 extern (C) void HTMLHRElement_color_Set(Handle, string);
9379 extern (C) string HTMLHRElement_color_Get(Handle);
9380 extern (C) void HTMLHRElement_noShade_Set(Handle, bool);
9381 extern (C) bool HTMLHRElement_noShade_Get(Handle);
9382 extern (C) void HTMLHRElement_size_Set(Handle, string);
9383 extern (C) string HTMLHRElement_size_Get(Handle);
9384 extern (C) void HTMLHRElement_width_Set(Handle, string);
9385 extern (C) string HTMLHRElement_width_Get(Handle);
9386 extern (C) void HTMLHeadingElement_align_Set(Handle, string);
9387 extern (C) string HTMLHeadingElement_align_Get(Handle);
9388 extern (C) void HTMLHtmlElement_version_Set(Handle, string);
9389 extern (C) string HTMLHtmlElement_version_Get(Handle);
9390 extern (C) void HTMLHyperlinkElementUtils_href_Set(Handle, string);
9391 extern (C) string HTMLHyperlinkElementUtils_href_Get(Handle);
9392 extern (C) string HTMLHyperlinkElementUtils_origin_Get(Handle);
9393 extern (C) void HTMLHyperlinkElementUtils_protocol_Set(Handle, string);
9394 extern (C) string HTMLHyperlinkElementUtils_protocol_Get(Handle);
9395 extern (C) void HTMLHyperlinkElementUtils_username_Set(Handle, string);
9396 extern (C) string HTMLHyperlinkElementUtils_username_Get(Handle);
9397 extern (C) void HTMLHyperlinkElementUtils_password_Set(Handle, string);
9398 extern (C) string HTMLHyperlinkElementUtils_password_Get(Handle);
9399 extern (C) void HTMLHyperlinkElementUtils_host_Set(Handle, string);
9400 extern (C) string HTMLHyperlinkElementUtils_host_Get(Handle);
9401 extern (C) void HTMLHyperlinkElementUtils_hostname_Set(Handle, string);
9402 extern (C) string HTMLHyperlinkElementUtils_hostname_Get(Handle);
9403 extern (C) void HTMLHyperlinkElementUtils_port_Set(Handle, string);
9404 extern (C) string HTMLHyperlinkElementUtils_port_Get(Handle);
9405 extern (C) void HTMLHyperlinkElementUtils_pathname_Set(Handle, string);
9406 extern (C) string HTMLHyperlinkElementUtils_pathname_Get(Handle);
9407 extern (C) void HTMLHyperlinkElementUtils_search_Set(Handle, string);
9408 extern (C) string HTMLHyperlinkElementUtils_search_Get(Handle);
9409 extern (C) void HTMLHyperlinkElementUtils_hash_Set(Handle, string);
9410 extern (C) string HTMLHyperlinkElementUtils_hash_Get(Handle);
9411 extern (C) void HTMLIFrameElement_src_Set(Handle, string);
9412 extern (C) string HTMLIFrameElement_src_Get(Handle);
9413 extern (C) void HTMLIFrameElement_srcdoc_Set(Handle, string);
9414 extern (C) string HTMLIFrameElement_srcdoc_Get(Handle);
9415 extern (C) void HTMLIFrameElement_name_Set(Handle, string);
9416 extern (C) string HTMLIFrameElement_name_Get(Handle);
9417 extern (C) Handle HTMLIFrameElement_sandbox_Get(Handle);
9418 extern (C) void HTMLIFrameElement_allow_Set(Handle, string);
9419 extern (C) string HTMLIFrameElement_allow_Get(Handle);
9420 extern (C) void HTMLIFrameElement_allowFullscreen_Set(Handle, bool);
9421 extern (C) bool HTMLIFrameElement_allowFullscreen_Get(Handle);
9422 extern (C) void HTMLIFrameElement_allowPaymentRequest_Set(Handle, bool);
9423 extern (C) bool HTMLIFrameElement_allowPaymentRequest_Get(Handle);
9424 extern (C) void HTMLIFrameElement_width_Set(Handle, string);
9425 extern (C) string HTMLIFrameElement_width_Get(Handle);
9426 extern (C) void HTMLIFrameElement_height_Set(Handle, string);
9427 extern (C) string HTMLIFrameElement_height_Get(Handle);
9428 extern (C) void HTMLIFrameElement_referrerPolicy_Set(Handle, string);
9429 extern (C) string HTMLIFrameElement_referrerPolicy_Get(Handle);
9430 extern (C) Optional!(Document) HTMLIFrameElement_contentDocument_Get(Handle);
9431 extern (C) Optional!(Window) HTMLIFrameElement_contentWindow_Get(Handle);
9432 extern (C) Optional!(Document) HTMLIFrameElement_getSVGDocument(Handle);
9433 extern (C) void HTMLIFrameElement_align_Set(Handle, string);
9434 extern (C) string HTMLIFrameElement_align_Get(Handle);
9435 extern (C) void HTMLIFrameElement_scrolling_Set(Handle, string);
9436 extern (C) string HTMLIFrameElement_scrolling_Get(Handle);
9437 extern (C) void HTMLIFrameElement_frameBorder_Set(Handle, string);
9438 extern (C) string HTMLIFrameElement_frameBorder_Get(Handle);
9439 extern (C) void HTMLIFrameElement_longDesc_Set(Handle, string);
9440 extern (C) string HTMLIFrameElement_longDesc_Get(Handle);
9441 extern (C) void HTMLIFrameElement_marginHeight_Set(Handle, string);
9442 extern (C) string HTMLIFrameElement_marginHeight_Get(Handle);
9443 extern (C) void HTMLIFrameElement_marginWidth_Set(Handle, string);
9444 extern (C) string HTMLIFrameElement_marginWidth_Get(Handle);
9445 extern (C) void HTMLImageElement_alt_Set(Handle, string);
9446 extern (C) string HTMLImageElement_alt_Get(Handle);
9447 extern (C) void HTMLImageElement_src_Set(Handle, string);
9448 extern (C) string HTMLImageElement_src_Get(Handle);
9449 extern (C) void HTMLImageElement_srcset_Set(Handle, string);
9450 extern (C) string HTMLImageElement_srcset_Get(Handle);
9451 extern (C) void HTMLImageElement_sizes_Set(Handle, string);
9452 extern (C) string HTMLImageElement_sizes_Get(Handle);
9453 extern (C) void HTMLImageElement_crossOrigin_Set(Handle, bool, string);
9454 extern (C) Optional!(string) HTMLImageElement_crossOrigin_Get(Handle);
9455 extern (C) void HTMLImageElement_useMap_Set(Handle, string);
9456 extern (C) string HTMLImageElement_useMap_Get(Handle);
9457 extern (C) void HTMLImageElement_isMap_Set(Handle, bool);
9458 extern (C) bool HTMLImageElement_isMap_Get(Handle);
9459 extern (C) void HTMLImageElement_width_Set(Handle, uint);
9460 extern (C) uint HTMLImageElement_width_Get(Handle);
9461 extern (C) void HTMLImageElement_height_Set(Handle, uint);
9462 extern (C) uint HTMLImageElement_height_Get(Handle);
9463 extern (C) uint HTMLImageElement_naturalWidth_Get(Handle);
9464 extern (C) uint HTMLImageElement_naturalHeight_Get(Handle);
9465 extern (C) bool HTMLImageElement_complete_Get(Handle);
9466 extern (C) string HTMLImageElement_currentSrc_Get(Handle);
9467 extern (C) void HTMLImageElement_referrerPolicy_Set(Handle, string);
9468 extern (C) string HTMLImageElement_referrerPolicy_Get(Handle);
9469 extern (C) void HTMLImageElement_decoding_Set(Handle, string);
9470 extern (C) string HTMLImageElement_decoding_Get(Handle);
9471 extern (C) Handle HTMLImageElement_decode(Handle);
9472 extern (C) int HTMLImageElement_x_Get(Handle);
9473 extern (C) int HTMLImageElement_y_Get(Handle);
9474 extern (C) void HTMLImageElement_name_Set(Handle, string);
9475 extern (C) string HTMLImageElement_name_Get(Handle);
9476 extern (C) void HTMLImageElement_lowsrc_Set(Handle, string);
9477 extern (C) string HTMLImageElement_lowsrc_Get(Handle);
9478 extern (C) void HTMLImageElement_align_Set(Handle, string);
9479 extern (C) string HTMLImageElement_align_Get(Handle);
9480 extern (C) void HTMLImageElement_hspace_Set(Handle, uint);
9481 extern (C) uint HTMLImageElement_hspace_Get(Handle);
9482 extern (C) void HTMLImageElement_vspace_Set(Handle, uint);
9483 extern (C) uint HTMLImageElement_vspace_Get(Handle);
9484 extern (C) void HTMLImageElement_longDesc_Set(Handle, string);
9485 extern (C) string HTMLImageElement_longDesc_Get(Handle);
9486 extern (C) void HTMLImageElement_border_Set(Handle, string);
9487 extern (C) string HTMLImageElement_border_Get(Handle);
9488 extern (C) void HTMLInputElement_accept_Set(Handle, string);
9489 extern (C) string HTMLInputElement_accept_Get(Handle);
9490 extern (C) void HTMLInputElement_alt_Set(Handle, string);
9491 extern (C) string HTMLInputElement_alt_Get(Handle);
9492 extern (C) void HTMLInputElement_autocomplete_Set(Handle, string);
9493 extern (C) string HTMLInputElement_autocomplete_Get(Handle);
9494 extern (C) void HTMLInputElement_autofocus_Set(Handle, bool);
9495 extern (C) bool HTMLInputElement_autofocus_Get(Handle);
9496 extern (C) void HTMLInputElement_defaultChecked_Set(Handle, bool);
9497 extern (C) bool HTMLInputElement_defaultChecked_Get(Handle);
9498 extern (C) void HTMLInputElement_checked_Set(Handle, bool);
9499 extern (C) bool HTMLInputElement_checked_Get(Handle);
9500 extern (C) void HTMLInputElement_dirName_Set(Handle, string);
9501 extern (C) string HTMLInputElement_dirName_Get(Handle);
9502 extern (C) void HTMLInputElement_disabled_Set(Handle, bool);
9503 extern (C) bool HTMLInputElement_disabled_Get(Handle);
9504 extern (C) Optional!(HTMLFormElement) HTMLInputElement_form_Get(Handle);
9505 extern (C) void HTMLInputElement_files_Set(Handle, bool, Handle);
9506 extern (C) Optional!(FileList) HTMLInputElement_files_Get(Handle);
9507 extern (C) void HTMLInputElement_formAction_Set(Handle, string);
9508 extern (C) string HTMLInputElement_formAction_Get(Handle);
9509 extern (C) void HTMLInputElement_formEnctype_Set(Handle, string);
9510 extern (C) string HTMLInputElement_formEnctype_Get(Handle);
9511 extern (C) void HTMLInputElement_formMethod_Set(Handle, string);
9512 extern (C) string HTMLInputElement_formMethod_Get(Handle);
9513 extern (C) void HTMLInputElement_formNoValidate_Set(Handle, bool);
9514 extern (C) bool HTMLInputElement_formNoValidate_Get(Handle);
9515 extern (C) void HTMLInputElement_formTarget_Set(Handle, string);
9516 extern (C) string HTMLInputElement_formTarget_Get(Handle);
9517 extern (C) void HTMLInputElement_height_Set(Handle, uint);
9518 extern (C) uint HTMLInputElement_height_Get(Handle);
9519 extern (C) void HTMLInputElement_indeterminate_Set(Handle, bool);
9520 extern (C) bool HTMLInputElement_indeterminate_Get(Handle);
9521 extern (C) Optional!(HTMLElement) HTMLInputElement_list_Get(Handle);
9522 extern (C) void HTMLInputElement_max_Set(Handle, string);
9523 extern (C) string HTMLInputElement_max_Get(Handle);
9524 extern (C) void HTMLInputElement_maxLength_Set(Handle, int);
9525 extern (C) int HTMLInputElement_maxLength_Get(Handle);
9526 extern (C) void HTMLInputElement_min_Set(Handle, string);
9527 extern (C) string HTMLInputElement_min_Get(Handle);
9528 extern (C) void HTMLInputElement_minLength_Set(Handle, int);
9529 extern (C) int HTMLInputElement_minLength_Get(Handle);
9530 extern (C) void HTMLInputElement_multiple_Set(Handle, bool);
9531 extern (C) bool HTMLInputElement_multiple_Get(Handle);
9532 extern (C) void HTMLInputElement_name_Set(Handle, string);
9533 extern (C) string HTMLInputElement_name_Get(Handle);
9534 extern (C) void HTMLInputElement_pattern_Set(Handle, string);
9535 extern (C) string HTMLInputElement_pattern_Get(Handle);
9536 extern (C) void HTMLInputElement_placeholder_Set(Handle, string);
9537 extern (C) string HTMLInputElement_placeholder_Get(Handle);
9538 extern (C) void HTMLInputElement_readOnly_Set(Handle, bool);
9539 extern (C) bool HTMLInputElement_readOnly_Get(Handle);
9540 extern (C) void HTMLInputElement_required_Set(Handle, bool);
9541 extern (C) bool HTMLInputElement_required_Get(Handle);
9542 extern (C) void HTMLInputElement_size_Set(Handle, uint);
9543 extern (C) uint HTMLInputElement_size_Get(Handle);
9544 extern (C) void HTMLInputElement_src_Set(Handle, string);
9545 extern (C) string HTMLInputElement_src_Get(Handle);
9546 extern (C) void HTMLInputElement_step_Set(Handle, string);
9547 extern (C) string HTMLInputElement_step_Get(Handle);
9548 extern (C) void HTMLInputElement_type_Set(Handle, string);
9549 extern (C) string HTMLInputElement_type_Get(Handle);
9550 extern (C) void HTMLInputElement_defaultValue_Set(Handle, string);
9551 extern (C) string HTMLInputElement_defaultValue_Get(Handle);
9552 extern (C) void HTMLInputElement_value_Set(Handle, string);
9553 extern (C) string HTMLInputElement_value_Get(Handle);
9554 extern (C) void HTMLInputElement_valueAsDate_Set(Handle, bool, Handle);
9555 extern (C) Optional!(JsObject) HTMLInputElement_valueAsDate_Get(Handle);
9556 extern (C) void HTMLInputElement_valueAsNumber_Set(Handle, double);
9557 extern (C) double HTMLInputElement_valueAsNumber_Get(Handle);
9558 extern (C) void HTMLInputElement_width_Set(Handle, uint);
9559 extern (C) uint HTMLInputElement_width_Get(Handle);
9560 extern (C) void HTMLInputElement_stepUp(Handle, int);
9561 extern (C) void HTMLInputElement_stepUp_0(Handle);
9562 extern (C) void HTMLInputElement_stepDown(Handle, int);
9563 extern (C) void HTMLInputElement_stepDown_0(Handle);
9564 extern (C) bool HTMLInputElement_willValidate_Get(Handle);
9565 extern (C) Handle HTMLInputElement_validity_Get(Handle);
9566 extern (C) string HTMLInputElement_validationMessage_Get(Handle);
9567 extern (C) bool HTMLInputElement_checkValidity(Handle);
9568 extern (C) bool HTMLInputElement_reportValidity(Handle);
9569 extern (C) void HTMLInputElement_setCustomValidity(Handle, string);
9570 extern (C) Optional!(NodeList) HTMLInputElement_labels_Get(Handle);
9571 extern (C) void HTMLInputElement_select(Handle);
9572 extern (C) void HTMLInputElement_selectionStart_Set(Handle, bool, uint);
9573 extern (C) Optional!(uint) HTMLInputElement_selectionStart_Get(Handle);
9574 extern (C) void HTMLInputElement_selectionEnd_Set(Handle, bool, uint);
9575 extern (C) Optional!(uint) HTMLInputElement_selectionEnd_Get(Handle);
9576 extern (C) void HTMLInputElement_selectionDirection_Set(Handle, bool, string);
9577 extern (C) Optional!(string) HTMLInputElement_selectionDirection_Get(Handle);
9578 extern (C) void HTMLInputElement_setRangeText__string(Handle, string);
9579 extern (C) void HTMLInputElement_setRangeText__string_uint_uint_SelectionMode(Handle, string, uint, uint, SelectionMode);
9580 extern (C) void HTMLInputElement_setRangeText_0(Handle, string, uint, uint);
9581 extern (C) void HTMLInputElement_setSelectionRange(Handle, uint, uint, string);
9582 extern (C) void HTMLInputElement_setSelectionRange_0(Handle, uint, uint);
9583 extern (C) void HTMLInputElement_align_Set(Handle, string);
9584 extern (C) string HTMLInputElement_align_Get(Handle);
9585 extern (C) void HTMLInputElement_useMap_Set(Handle, string);
9586 extern (C) string HTMLInputElement_useMap_Get(Handle);
9587 extern (C) void HTMLLIElement_value_Set(Handle, int);
9588 extern (C) int HTMLLIElement_value_Get(Handle);
9589 extern (C) void HTMLLIElement_type_Set(Handle, string);
9590 extern (C) string HTMLLIElement_type_Get(Handle);
9591 extern (C) Optional!(HTMLFormElement) HTMLLabelElement_form_Get(Handle);
9592 extern (C) void HTMLLabelElement_htmlFor_Set(Handle, string);
9593 extern (C) string HTMLLabelElement_htmlFor_Get(Handle);
9594 extern (C) Optional!(HTMLElement) HTMLLabelElement_control_Get(Handle);
9595 extern (C) Optional!(HTMLFormElement) HTMLLegendElement_form_Get(Handle);
9596 extern (C) void HTMLLegendElement_align_Set(Handle, string);
9597 extern (C) string HTMLLegendElement_align_Get(Handle);
9598 extern (C) void HTMLLinkElement_href_Set(Handle, string);
9599 extern (C) string HTMLLinkElement_href_Get(Handle);
9600 extern (C) void HTMLLinkElement_crossOrigin_Set(Handle, bool, string);
9601 extern (C) Optional!(string) HTMLLinkElement_crossOrigin_Get(Handle);
9602 extern (C) void HTMLLinkElement_rel_Set(Handle, string);
9603 extern (C) string HTMLLinkElement_rel_Get(Handle);
9604 extern (C) void HTMLLinkElement_as_Set(Handle, string);
9605 extern (C) string HTMLLinkElement_as_Get(Handle);
9606 extern (C) Handle HTMLLinkElement_relList_Get(Handle);
9607 extern (C) void HTMLLinkElement_media_Set(Handle, string);
9608 extern (C) string HTMLLinkElement_media_Get(Handle);
9609 extern (C) void HTMLLinkElement_integrity_Set(Handle, string);
9610 extern (C) string HTMLLinkElement_integrity_Get(Handle);
9611 extern (C) void HTMLLinkElement_hreflang_Set(Handle, string);
9612 extern (C) string HTMLLinkElement_hreflang_Get(Handle);
9613 extern (C) void HTMLLinkElement_type_Set(Handle, string);
9614 extern (C) string HTMLLinkElement_type_Get(Handle);
9615 extern (C) Handle HTMLLinkElement_sizes_Get(Handle);
9616 extern (C) void HTMLLinkElement_referrerPolicy_Set(Handle, string);
9617 extern (C) string HTMLLinkElement_referrerPolicy_Get(Handle);
9618 extern (C) void HTMLLinkElement_charset_Set(Handle, string);
9619 extern (C) string HTMLLinkElement_charset_Get(Handle);
9620 extern (C) void HTMLLinkElement_rev_Set(Handle, string);
9621 extern (C) string HTMLLinkElement_rev_Get(Handle);
9622 extern (C) void HTMLLinkElement_target_Set(Handle, string);
9623 extern (C) string HTMLLinkElement_target_Get(Handle);
9624 extern (C) void HTMLMapElement_name_Set(Handle, string);
9625 extern (C) string HTMLMapElement_name_Get(Handle);
9626 extern (C) Handle HTMLMapElement_areas_Get(Handle);
9627 extern (C) void HTMLMarqueeElement_behavior_Set(Handle, string);
9628 extern (C) string HTMLMarqueeElement_behavior_Get(Handle);
9629 extern (C) void HTMLMarqueeElement_bgColor_Set(Handle, string);
9630 extern (C) string HTMLMarqueeElement_bgColor_Get(Handle);
9631 extern (C) void HTMLMarqueeElement_direction_Set(Handle, string);
9632 extern (C) string HTMLMarqueeElement_direction_Get(Handle);
9633 extern (C) void HTMLMarqueeElement_height_Set(Handle, string);
9634 extern (C) string HTMLMarqueeElement_height_Get(Handle);
9635 extern (C) void HTMLMarqueeElement_hspace_Set(Handle, uint);
9636 extern (C) uint HTMLMarqueeElement_hspace_Get(Handle);
9637 extern (C) void HTMLMarqueeElement_loop_Set(Handle, int);
9638 extern (C) int HTMLMarqueeElement_loop_Get(Handle);
9639 extern (C) void HTMLMarqueeElement_scrollAmount_Set(Handle, uint);
9640 extern (C) uint HTMLMarqueeElement_scrollAmount_Get(Handle);
9641 extern (C) void HTMLMarqueeElement_scrollDelay_Set(Handle, uint);
9642 extern (C) uint HTMLMarqueeElement_scrollDelay_Get(Handle);
9643 extern (C) void HTMLMarqueeElement_trueSpeed_Set(Handle, bool);
9644 extern (C) bool HTMLMarqueeElement_trueSpeed_Get(Handle);
9645 extern (C) void HTMLMarqueeElement_vspace_Set(Handle, uint);
9646 extern (C) uint HTMLMarqueeElement_vspace_Get(Handle);
9647 extern (C) void HTMLMarqueeElement_width_Set(Handle, string);
9648 extern (C) string HTMLMarqueeElement_width_Get(Handle);
9649 extern (C) void HTMLMarqueeElement_onbounce_Set(Handle, EventHandler);
9650 extern (C) EventHandler HTMLMarqueeElement_onbounce_Get(Handle);
9651 extern (C) void HTMLMarqueeElement_onfinish_Set(Handle, EventHandler);
9652 extern (C) EventHandler HTMLMarqueeElement_onfinish_Get(Handle);
9653 extern (C) void HTMLMarqueeElement_onstart_Set(Handle, EventHandler);
9654 extern (C) EventHandler HTMLMarqueeElement_onstart_Get(Handle);
9655 extern (C) void HTMLMarqueeElement_start(Handle);
9656 extern (C) void HTMLMarqueeElement_stop(Handle);
9657 extern (C) Optional!(MediaError) HTMLMediaElement_error_Get(Handle);
9658 extern (C) void HTMLMediaElement_src_Set(Handle, string);
9659 extern (C) string HTMLMediaElement_src_Get(Handle);
9660 extern (C) void HTMLMediaElement_srcObject_Set(Handle, bool, scope ref MediaProvider);
9661 extern (C) Optional!(MediaProvider) HTMLMediaElement_srcObject_Get(Handle);
9662 extern (C) string HTMLMediaElement_currentSrc_Get(Handle);
9663 extern (C) void HTMLMediaElement_crossOrigin_Set(Handle, bool, string);
9664 extern (C) Optional!(string) HTMLMediaElement_crossOrigin_Get(Handle);
9665 extern (C) ushort HTMLMediaElement_networkState_Get(Handle);
9666 extern (C) void HTMLMediaElement_preload_Set(Handle, string);
9667 extern (C) string HTMLMediaElement_preload_Get(Handle);
9668 extern (C) Handle HTMLMediaElement_buffered_Get(Handle);
9669 extern (C) void HTMLMediaElement_load(Handle);
9670 extern (C) CanPlayTypeResult HTMLMediaElement_canPlayType(Handle, string);
9671 extern (C) ushort HTMLMediaElement_readyState_Get(Handle);
9672 extern (C) bool HTMLMediaElement_seeking_Get(Handle);
9673 extern (C) void HTMLMediaElement_currentTime_Set(Handle, double);
9674 extern (C) double HTMLMediaElement_currentTime_Get(Handle);
9675 extern (C) void HTMLMediaElement_fastSeek(Handle, double);
9676 extern (C) double HTMLMediaElement_duration_Get(Handle);
9677 extern (C) Handle HTMLMediaElement_getStartDate(Handle);
9678 extern (C) bool HTMLMediaElement_paused_Get(Handle);
9679 extern (C) void HTMLMediaElement_defaultPlaybackRate_Set(Handle, double);
9680 extern (C) double HTMLMediaElement_defaultPlaybackRate_Get(Handle);
9681 extern (C) void HTMLMediaElement_playbackRate_Set(Handle, double);
9682 extern (C) double HTMLMediaElement_playbackRate_Get(Handle);
9683 extern (C) Handle HTMLMediaElement_played_Get(Handle);
9684 extern (C) Handle HTMLMediaElement_seekable_Get(Handle);
9685 extern (C) bool HTMLMediaElement_ended_Get(Handle);
9686 extern (C) void HTMLMediaElement_autoplay_Set(Handle, bool);
9687 extern (C) bool HTMLMediaElement_autoplay_Get(Handle);
9688 extern (C) void HTMLMediaElement_loop_Set(Handle, bool);
9689 extern (C) bool HTMLMediaElement_loop_Get(Handle);
9690 extern (C) Handle HTMLMediaElement_play(Handle);
9691 extern (C) void HTMLMediaElement_pause(Handle);
9692 extern (C) void HTMLMediaElement_controls_Set(Handle, bool);
9693 extern (C) bool HTMLMediaElement_controls_Get(Handle);
9694 extern (C) void HTMLMediaElement_volume_Set(Handle, double);
9695 extern (C) double HTMLMediaElement_volume_Get(Handle);
9696 extern (C) void HTMLMediaElement_muted_Set(Handle, bool);
9697 extern (C) bool HTMLMediaElement_muted_Get(Handle);
9698 extern (C) void HTMLMediaElement_defaultMuted_Set(Handle, bool);
9699 extern (C) bool HTMLMediaElement_defaultMuted_Get(Handle);
9700 extern (C) Handle HTMLMediaElement_audioTracks_Get(Handle);
9701 extern (C) Handle HTMLMediaElement_videoTracks_Get(Handle);
9702 extern (C) Handle HTMLMediaElement_textTracks_Get(Handle);
9703 extern (C) Handle HTMLMediaElement_addTextTrack(Handle, TextTrackKind, string, string);
9704 extern (C) Handle HTMLMediaElement_addTextTrack_0(Handle, TextTrackKind, string);
9705 extern (C) Handle HTMLMediaElement_addTextTrack_1(Handle, TextTrackKind);
9706 extern (C) void HTMLMenuElement_compact_Set(Handle, bool);
9707 extern (C) bool HTMLMenuElement_compact_Get(Handle);
9708 extern (C) void HTMLMetaElement_name_Set(Handle, string);
9709 extern (C) string HTMLMetaElement_name_Get(Handle);
9710 extern (C) void HTMLMetaElement_httpEquiv_Set(Handle, string);
9711 extern (C) string HTMLMetaElement_httpEquiv_Get(Handle);
9712 extern (C) void HTMLMetaElement_content_Set(Handle, string);
9713 extern (C) string HTMLMetaElement_content_Get(Handle);
9714 extern (C) void HTMLMetaElement_scheme_Set(Handle, string);
9715 extern (C) string HTMLMetaElement_scheme_Get(Handle);
9716 extern (C) void HTMLMeterElement_value_Set(Handle, double);
9717 extern (C) double HTMLMeterElement_value_Get(Handle);
9718 extern (C) void HTMLMeterElement_min_Set(Handle, double);
9719 extern (C) double HTMLMeterElement_min_Get(Handle);
9720 extern (C) void HTMLMeterElement_max_Set(Handle, double);
9721 extern (C) double HTMLMeterElement_max_Get(Handle);
9722 extern (C) void HTMLMeterElement_low_Set(Handle, double);
9723 extern (C) double HTMLMeterElement_low_Get(Handle);
9724 extern (C) void HTMLMeterElement_high_Set(Handle, double);
9725 extern (C) double HTMLMeterElement_high_Get(Handle);
9726 extern (C) void HTMLMeterElement_optimum_Set(Handle, double);
9727 extern (C) double HTMLMeterElement_optimum_Get(Handle);
9728 extern (C) Handle HTMLMeterElement_labels_Get(Handle);
9729 extern (C) void HTMLModElement_cite_Set(Handle, string);
9730 extern (C) string HTMLModElement_cite_Get(Handle);
9731 extern (C) void HTMLModElement_dateTime_Set(Handle, string);
9732 extern (C) string HTMLModElement_dateTime_Get(Handle);
9733 extern (C) void HTMLOListElement_reversed_Set(Handle, bool);
9734 extern (C) bool HTMLOListElement_reversed_Get(Handle);
9735 extern (C) void HTMLOListElement_start_Set(Handle, int);
9736 extern (C) int HTMLOListElement_start_Get(Handle);
9737 extern (C) void HTMLOListElement_type_Set(Handle, string);
9738 extern (C) string HTMLOListElement_type_Get(Handle);
9739 extern (C) void HTMLOListElement_compact_Set(Handle, bool);
9740 extern (C) bool HTMLOListElement_compact_Get(Handle);
9741 extern (C) void HTMLObjectElement_data_Set(Handle, string);
9742 extern (C) string HTMLObjectElement_data_Get(Handle);
9743 extern (C) void HTMLObjectElement_type_Set(Handle, string);
9744 extern (C) string HTMLObjectElement_type_Get(Handle);
9745 extern (C) void HTMLObjectElement_typeMustMatch_Set(Handle, bool);
9746 extern (C) bool HTMLObjectElement_typeMustMatch_Get(Handle);
9747 extern (C) void HTMLObjectElement_name_Set(Handle, string);
9748 extern (C) string HTMLObjectElement_name_Get(Handle);
9749 extern (C) void HTMLObjectElement_useMap_Set(Handle, string);
9750 extern (C) string HTMLObjectElement_useMap_Get(Handle);
9751 extern (C) Optional!(HTMLFormElement) HTMLObjectElement_form_Get(Handle);
9752 extern (C) void HTMLObjectElement_width_Set(Handle, string);
9753 extern (C) string HTMLObjectElement_width_Get(Handle);
9754 extern (C) void HTMLObjectElement_height_Set(Handle, string);
9755 extern (C) string HTMLObjectElement_height_Get(Handle);
9756 extern (C) Optional!(Document) HTMLObjectElement_contentDocument_Get(Handle);
9757 extern (C) Optional!(Window) HTMLObjectElement_contentWindow_Get(Handle);
9758 extern (C) Optional!(Document) HTMLObjectElement_getSVGDocument(Handle);
9759 extern (C) bool HTMLObjectElement_willValidate_Get(Handle);
9760 extern (C) Handle HTMLObjectElement_validity_Get(Handle);
9761 extern (C) string HTMLObjectElement_validationMessage_Get(Handle);
9762 extern (C) bool HTMLObjectElement_checkValidity(Handle);
9763 extern (C) bool HTMLObjectElement_reportValidity(Handle);
9764 extern (C) void HTMLObjectElement_setCustomValidity(Handle, string);
9765 extern (C) void HTMLObjectElement_align_Set(Handle, string);
9766 extern (C) string HTMLObjectElement_align_Get(Handle);
9767 extern (C) void HTMLObjectElement_archive_Set(Handle, string);
9768 extern (C) string HTMLObjectElement_archive_Get(Handle);
9769 extern (C) void HTMLObjectElement_code_Set(Handle, string);
9770 extern (C) string HTMLObjectElement_code_Get(Handle);
9771 extern (C) void HTMLObjectElement_declare_Set(Handle, bool);
9772 extern (C) bool HTMLObjectElement_declare_Get(Handle);
9773 extern (C) void HTMLObjectElement_hspace_Set(Handle, uint);
9774 extern (C) uint HTMLObjectElement_hspace_Get(Handle);
9775 extern (C) void HTMLObjectElement_standby_Set(Handle, string);
9776 extern (C) string HTMLObjectElement_standby_Get(Handle);
9777 extern (C) void HTMLObjectElement_vspace_Set(Handle, uint);
9778 extern (C) uint HTMLObjectElement_vspace_Get(Handle);
9779 extern (C) void HTMLObjectElement_codeBase_Set(Handle, string);
9780 extern (C) string HTMLObjectElement_codeBase_Get(Handle);
9781 extern (C) void HTMLObjectElement_codeType_Set(Handle, string);
9782 extern (C) string HTMLObjectElement_codeType_Get(Handle);
9783 extern (C) void HTMLObjectElement_border_Set(Handle, string);
9784 extern (C) string HTMLObjectElement_border_Get(Handle);
9785 extern (C) void HTMLOptGroupElement_disabled_Set(Handle, bool);
9786 extern (C) bool HTMLOptGroupElement_disabled_Get(Handle);
9787 extern (C) void HTMLOptGroupElement_label_Set(Handle, string);
9788 extern (C) string HTMLOptGroupElement_label_Get(Handle);
9789 extern (C) void HTMLOptionElement_disabled_Set(Handle, bool);
9790 extern (C) bool HTMLOptionElement_disabled_Get(Handle);
9791 extern (C) Optional!(HTMLFormElement) HTMLOptionElement_form_Get(Handle);
9792 extern (C) void HTMLOptionElement_label_Set(Handle, string);
9793 extern (C) string HTMLOptionElement_label_Get(Handle);
9794 extern (C) void HTMLOptionElement_defaultSelected_Set(Handle, bool);
9795 extern (C) bool HTMLOptionElement_defaultSelected_Get(Handle);
9796 extern (C) void HTMLOptionElement_selected_Set(Handle, bool);
9797 extern (C) bool HTMLOptionElement_selected_Get(Handle);
9798 extern (C) void HTMLOptionElement_value_Set(Handle, string);
9799 extern (C) string HTMLOptionElement_value_Get(Handle);
9800 extern (C) void HTMLOptionElement_text_Set(Handle, string);
9801 extern (C) string HTMLOptionElement_text_Get(Handle);
9802 extern (C) int HTMLOptionElement_index_Get(Handle);
9803 extern (C) void HTMLOptionsCollection_length_Set(Handle, uint);
9804 extern (C) uint HTMLOptionsCollection_length_Get(Handle);
9805 extern (C) void HTMLOptionsCollection_setter__uint_optional_Handle(Handle, uint, bool, Handle);
9806 extern (C) void HTMLOptionsCollection_add(Handle, scope ref SumType!(HTMLOptionElement, HTMLOptGroupElement), bool, scope ref SumType!(HTMLElement, int));
9807 extern (C) void HTMLOptionsCollection_add_0(Handle, scope ref SumType!(HTMLOptionElement, HTMLOptGroupElement));
9808 extern (C) void HTMLOptionsCollection_remove(Handle, int);
9809 extern (C) void HTMLOptionsCollection_selectedIndex_Set(Handle, int);
9810 extern (C) int HTMLOptionsCollection_selectedIndex_Get(Handle);
9811 extern (C) Handle HTMLOrSVGElement_dataset_Get(Handle);
9812 extern (C) void HTMLOrSVGElement_nonce_Set(Handle, string);
9813 extern (C) string HTMLOrSVGElement_nonce_Get(Handle);
9814 extern (C) void HTMLOrSVGElement_tabIndex_Set(Handle, int);
9815 extern (C) int HTMLOrSVGElement_tabIndex_Get(Handle);
9816 extern (C) void HTMLOrSVGElement_focus(Handle, Handle);
9817 extern (C) void HTMLOrSVGElement_focus_0(Handle);
9818 extern (C) void HTMLOrSVGElement_blur(Handle);
9819 extern (C) Handle HTMLOutputElement_htmlFor_Get(Handle);
9820 extern (C) Optional!(HTMLFormElement) HTMLOutputElement_form_Get(Handle);
9821 extern (C) void HTMLOutputElement_name_Set(Handle, string);
9822 extern (C) string HTMLOutputElement_name_Get(Handle);
9823 extern (C) string HTMLOutputElement_type_Get(Handle);
9824 extern (C) void HTMLOutputElement_defaultValue_Set(Handle, string);
9825 extern (C) string HTMLOutputElement_defaultValue_Get(Handle);
9826 extern (C) void HTMLOutputElement_value_Set(Handle, string);
9827 extern (C) string HTMLOutputElement_value_Get(Handle);
9828 extern (C) bool HTMLOutputElement_willValidate_Get(Handle);
9829 extern (C) Handle HTMLOutputElement_validity_Get(Handle);
9830 extern (C) string HTMLOutputElement_validationMessage_Get(Handle);
9831 extern (C) bool HTMLOutputElement_checkValidity(Handle);
9832 extern (C) bool HTMLOutputElement_reportValidity(Handle);
9833 extern (C) void HTMLOutputElement_setCustomValidity(Handle, string);
9834 extern (C) Handle HTMLOutputElement_labels_Get(Handle);
9835 extern (C) void HTMLParagraphElement_align_Set(Handle, string);
9836 extern (C) string HTMLParagraphElement_align_Get(Handle);
9837 extern (C) void HTMLParamElement_name_Set(Handle, string);
9838 extern (C) string HTMLParamElement_name_Get(Handle);
9839 extern (C) void HTMLParamElement_value_Set(Handle, string);
9840 extern (C) string HTMLParamElement_value_Get(Handle);
9841 extern (C) void HTMLParamElement_type_Set(Handle, string);
9842 extern (C) string HTMLParamElement_type_Get(Handle);
9843 extern (C) void HTMLParamElement_valueType_Set(Handle, string);
9844 extern (C) string HTMLParamElement_valueType_Get(Handle);
9845 extern (C) void HTMLPreElement_width_Set(Handle, int);
9846 extern (C) int HTMLPreElement_width_Get(Handle);
9847 extern (C) void HTMLProgressElement_value_Set(Handle, double);
9848 extern (C) double HTMLProgressElement_value_Get(Handle);
9849 extern (C) void HTMLProgressElement_max_Set(Handle, double);
9850 extern (C) double HTMLProgressElement_max_Get(Handle);
9851 extern (C) double HTMLProgressElement_position_Get(Handle);
9852 extern (C) Handle HTMLProgressElement_labels_Get(Handle);
9853 extern (C) void HTMLQuoteElement_cite_Set(Handle, string);
9854 extern (C) string HTMLQuoteElement_cite_Get(Handle);
9855 extern (C) void HTMLScriptElement_src_Set(Handle, string);
9856 extern (C) string HTMLScriptElement_src_Get(Handle);
9857 extern (C) void HTMLScriptElement_type_Set(Handle, string);
9858 extern (C) string HTMLScriptElement_type_Get(Handle);
9859 extern (C) void HTMLScriptElement_noModule_Set(Handle, bool);
9860 extern (C) bool HTMLScriptElement_noModule_Get(Handle);
9861 extern (C) void HTMLScriptElement_async_Set(Handle, bool);
9862 extern (C) bool HTMLScriptElement_async_Get(Handle);
9863 extern (C) void HTMLScriptElement_defer_Set(Handle, bool);
9864 extern (C) bool HTMLScriptElement_defer_Get(Handle);
9865 extern (C) void HTMLScriptElement_crossOrigin_Set(Handle, bool, string);
9866 extern (C) Optional!(string) HTMLScriptElement_crossOrigin_Get(Handle);
9867 extern (C) void HTMLScriptElement_text_Set(Handle, string);
9868 extern (C) string HTMLScriptElement_text_Get(Handle);
9869 extern (C) void HTMLScriptElement_integrity_Set(Handle, string);
9870 extern (C) string HTMLScriptElement_integrity_Get(Handle);
9871 extern (C) void HTMLScriptElement_referrerPolicy_Set(Handle, string);
9872 extern (C) string HTMLScriptElement_referrerPolicy_Get(Handle);
9873 extern (C) void HTMLScriptElement_charset_Set(Handle, string);
9874 extern (C) string HTMLScriptElement_charset_Get(Handle);
9875 extern (C) void HTMLScriptElement_event_Set(Handle, string);
9876 extern (C) string HTMLScriptElement_event_Get(Handle);
9877 extern (C) void HTMLScriptElement_htmlFor_Set(Handle, string);
9878 extern (C) string HTMLScriptElement_htmlFor_Get(Handle);
9879 extern (C) void HTMLSelectElement_autocomplete_Set(Handle, string);
9880 extern (C) string HTMLSelectElement_autocomplete_Get(Handle);
9881 extern (C) void HTMLSelectElement_autofocus_Set(Handle, bool);
9882 extern (C) bool HTMLSelectElement_autofocus_Get(Handle);
9883 extern (C) void HTMLSelectElement_disabled_Set(Handle, bool);
9884 extern (C) bool HTMLSelectElement_disabled_Get(Handle);
9885 extern (C) Optional!(HTMLFormElement) HTMLSelectElement_form_Get(Handle);
9886 extern (C) void HTMLSelectElement_multiple_Set(Handle, bool);
9887 extern (C) bool HTMLSelectElement_multiple_Get(Handle);
9888 extern (C) void HTMLSelectElement_name_Set(Handle, string);
9889 extern (C) string HTMLSelectElement_name_Get(Handle);
9890 extern (C) void HTMLSelectElement_required_Set(Handle, bool);
9891 extern (C) bool HTMLSelectElement_required_Get(Handle);
9892 extern (C) void HTMLSelectElement_size_Set(Handle, uint);
9893 extern (C) uint HTMLSelectElement_size_Get(Handle);
9894 extern (C) string HTMLSelectElement_type_Get(Handle);
9895 extern (C) Handle HTMLSelectElement_options_Get(Handle);
9896 extern (C) void HTMLSelectElement_length_Set(Handle, uint);
9897 extern (C) uint HTMLSelectElement_length_Get(Handle);
9898 extern (C) Optional!(Element) HTMLSelectElement_item_getter(Handle, uint);
9899 extern (C) Optional!(HTMLOptionElement) HTMLSelectElement_namedItem(Handle, string);
9900 extern (C) void HTMLSelectElement_add(Handle, scope ref SumType!(HTMLOptionElement, HTMLOptGroupElement), bool, scope ref SumType!(HTMLElement, int));
9901 extern (C) void HTMLSelectElement_add_0(Handle, scope ref SumType!(HTMLOptionElement, HTMLOptGroupElement));
9902 extern (C) void HTMLSelectElement_remove__(Handle);
9903 extern (C) void HTMLSelectElement_remove__int(Handle, int);
9904 extern (C) void HTMLSelectElement_setter__uint_optional_Handle(Handle, uint, bool, Handle);
9905 extern (C) Handle HTMLSelectElement_selectedOptions_Get(Handle);
9906 extern (C) void HTMLSelectElement_selectedIndex_Set(Handle, int);
9907 extern (C) int HTMLSelectElement_selectedIndex_Get(Handle);
9908 extern (C) void HTMLSelectElement_value_Set(Handle, string);
9909 extern (C) string HTMLSelectElement_value_Get(Handle);
9910 extern (C) bool HTMLSelectElement_willValidate_Get(Handle);
9911 extern (C) Handle HTMLSelectElement_validity_Get(Handle);
9912 extern (C) string HTMLSelectElement_validationMessage_Get(Handle);
9913 extern (C) bool HTMLSelectElement_checkValidity(Handle);
9914 extern (C) bool HTMLSelectElement_reportValidity(Handle);
9915 extern (C) void HTMLSelectElement_setCustomValidity(Handle, string);
9916 extern (C) Handle HTMLSelectElement_labels_Get(Handle);
9917 extern (C) void HTMLSlotElement_name_Set(Handle, string);
9918 extern (C) string HTMLSlotElement_name_Get(Handle);
9919 extern (C) Handle HTMLSlotElement_assignedNodes(Handle, Handle);
9920 extern (C) Handle HTMLSlotElement_assignedNodes_0(Handle);
9921 extern (C) Handle HTMLSlotElement_assignedElements(Handle, Handle);
9922 extern (C) Handle HTMLSlotElement_assignedElements_0(Handle);
9923 extern (C) void HTMLSourceElement_src_Set(Handle, string);
9924 extern (C) string HTMLSourceElement_src_Get(Handle);
9925 extern (C) void HTMLSourceElement_type_Set(Handle, string);
9926 extern (C) string HTMLSourceElement_type_Get(Handle);
9927 extern (C) void HTMLSourceElement_srcset_Set(Handle, string);
9928 extern (C) string HTMLSourceElement_srcset_Get(Handle);
9929 extern (C) void HTMLSourceElement_sizes_Set(Handle, string);
9930 extern (C) string HTMLSourceElement_sizes_Get(Handle);
9931 extern (C) void HTMLSourceElement_media_Set(Handle, string);
9932 extern (C) string HTMLSourceElement_media_Get(Handle);
9933 extern (C) void HTMLStyleElement_media_Set(Handle, string);
9934 extern (C) string HTMLStyleElement_media_Get(Handle);
9935 extern (C) void HTMLStyleElement_type_Set(Handle, string);
9936 extern (C) string HTMLStyleElement_type_Get(Handle);
9937 extern (C) void HTMLTableCaptionElement_align_Set(Handle, string);
9938 extern (C) string HTMLTableCaptionElement_align_Get(Handle);
9939 extern (C) void HTMLTableCellElement_colSpan_Set(Handle, uint);
9940 extern (C) uint HTMLTableCellElement_colSpan_Get(Handle);
9941 extern (C) void HTMLTableCellElement_rowSpan_Set(Handle, uint);
9942 extern (C) uint HTMLTableCellElement_rowSpan_Get(Handle);
9943 extern (C) void HTMLTableCellElement_headers_Set(Handle, string);
9944 extern (C) string HTMLTableCellElement_headers_Get(Handle);
9945 extern (C) int HTMLTableCellElement_cellIndex_Get(Handle);
9946 extern (C) void HTMLTableCellElement_scope_Set(Handle, string);
9947 extern (C) string HTMLTableCellElement_scope_Get(Handle);
9948 extern (C) void HTMLTableCellElement_abbr_Set(Handle, string);
9949 extern (C) string HTMLTableCellElement_abbr_Get(Handle);
9950 extern (C) void HTMLTableCellElement_align_Set(Handle, string);
9951 extern (C) string HTMLTableCellElement_align_Get(Handle);
9952 extern (C) void HTMLTableCellElement_axis_Set(Handle, string);
9953 extern (C) string HTMLTableCellElement_axis_Get(Handle);
9954 extern (C) void HTMLTableCellElement_height_Set(Handle, string);
9955 extern (C) string HTMLTableCellElement_height_Get(Handle);
9956 extern (C) void HTMLTableCellElement_width_Set(Handle, string);
9957 extern (C) string HTMLTableCellElement_width_Get(Handle);
9958 extern (C) void HTMLTableCellElement_ch_Set(Handle, string);
9959 extern (C) string HTMLTableCellElement_ch_Get(Handle);
9960 extern (C) void HTMLTableCellElement_chOff_Set(Handle, string);
9961 extern (C) string HTMLTableCellElement_chOff_Get(Handle);
9962 extern (C) void HTMLTableCellElement_noWrap_Set(Handle, bool);
9963 extern (C) bool HTMLTableCellElement_noWrap_Get(Handle);
9964 extern (C) void HTMLTableCellElement_vAlign_Set(Handle, string);
9965 extern (C) string HTMLTableCellElement_vAlign_Get(Handle);
9966 extern (C) void HTMLTableCellElement_bgColor_Set(Handle, string);
9967 extern (C) string HTMLTableCellElement_bgColor_Get(Handle);
9968 extern (C) void HTMLTableColElement_span_Set(Handle, uint);
9969 extern (C) uint HTMLTableColElement_span_Get(Handle);
9970 extern (C) void HTMLTableColElement_align_Set(Handle, string);
9971 extern (C) string HTMLTableColElement_align_Get(Handle);
9972 extern (C) void HTMLTableColElement_ch_Set(Handle, string);
9973 extern (C) string HTMLTableColElement_ch_Get(Handle);
9974 extern (C) void HTMLTableColElement_chOff_Set(Handle, string);
9975 extern (C) string HTMLTableColElement_chOff_Get(Handle);
9976 extern (C) void HTMLTableColElement_vAlign_Set(Handle, string);
9977 extern (C) string HTMLTableColElement_vAlign_Get(Handle);
9978 extern (C) void HTMLTableColElement_width_Set(Handle, string);
9979 extern (C) string HTMLTableColElement_width_Get(Handle);
9980 extern (C) void HTMLTableElement_caption_Set(Handle, bool, Handle);
9981 extern (C) Optional!(HTMLTableCaptionElement) HTMLTableElement_caption_Get(Handle);
9982 extern (C) Handle HTMLTableElement_createCaption(Handle);
9983 extern (C) void HTMLTableElement_deleteCaption(Handle);
9984 extern (C) void HTMLTableElement_tHead_Set(Handle, bool, Handle);
9985 extern (C) Optional!(HTMLTableSectionElement) HTMLTableElement_tHead_Get(Handle);
9986 extern (C) Handle HTMLTableElement_createTHead(Handle);
9987 extern (C) void HTMLTableElement_deleteTHead(Handle);
9988 extern (C) void HTMLTableElement_tFoot_Set(Handle, bool, Handle);
9989 extern (C) Optional!(HTMLTableSectionElement) HTMLTableElement_tFoot_Get(Handle);
9990 extern (C) Handle HTMLTableElement_createTFoot(Handle);
9991 extern (C) void HTMLTableElement_deleteTFoot(Handle);
9992 extern (C) Handle HTMLTableElement_tBodies_Get(Handle);
9993 extern (C) Handle HTMLTableElement_createTBody(Handle);
9994 extern (C) Handle HTMLTableElement_rows_Get(Handle);
9995 extern (C) Handle HTMLTableElement_insertRow(Handle, int);
9996 extern (C) Handle HTMLTableElement_insertRow_0(Handle);
9997 extern (C) void HTMLTableElement_deleteRow(Handle, int);
9998 extern (C) void HTMLTableElement_align_Set(Handle, string);
9999 extern (C) string HTMLTableElement_align_Get(Handle);
10000 extern (C) void HTMLTableElement_border_Set(Handle, string);
10001 extern (C) string HTMLTableElement_border_Get(Handle);
10002 extern (C) void HTMLTableElement_frame_Set(Handle, string);
10003 extern (C) string HTMLTableElement_frame_Get(Handle);
10004 extern (C) void HTMLTableElement_rules_Set(Handle, string);
10005 extern (C) string HTMLTableElement_rules_Get(Handle);
10006 extern (C) void HTMLTableElement_summary_Set(Handle, string);
10007 extern (C) string HTMLTableElement_summary_Get(Handle);
10008 extern (C) void HTMLTableElement_width_Set(Handle, string);
10009 extern (C) string HTMLTableElement_width_Get(Handle);
10010 extern (C) void HTMLTableElement_bgColor_Set(Handle, string);
10011 extern (C) string HTMLTableElement_bgColor_Get(Handle);
10012 extern (C) void HTMLTableElement_cellPadding_Set(Handle, string);
10013 extern (C) string HTMLTableElement_cellPadding_Get(Handle);
10014 extern (C) void HTMLTableElement_cellSpacing_Set(Handle, string);
10015 extern (C) string HTMLTableElement_cellSpacing_Get(Handle);
10016 extern (C) int HTMLTableRowElement_rowIndex_Get(Handle);
10017 extern (C) int HTMLTableRowElement_sectionRowIndex_Get(Handle);
10018 extern (C) Handle HTMLTableRowElement_cells_Get(Handle);
10019 extern (C) Handle HTMLTableRowElement_insertCell(Handle, int);
10020 extern (C) Handle HTMLTableRowElement_insertCell_0(Handle);
10021 extern (C) void HTMLTableRowElement_deleteCell(Handle, int);
10022 extern (C) void HTMLTableRowElement_align_Set(Handle, string);
10023 extern (C) string HTMLTableRowElement_align_Get(Handle);
10024 extern (C) void HTMLTableRowElement_ch_Set(Handle, string);
10025 extern (C) string HTMLTableRowElement_ch_Get(Handle);
10026 extern (C) void HTMLTableRowElement_chOff_Set(Handle, string);
10027 extern (C) string HTMLTableRowElement_chOff_Get(Handle);
10028 extern (C) void HTMLTableRowElement_vAlign_Set(Handle, string);
10029 extern (C) string HTMLTableRowElement_vAlign_Get(Handle);
10030 extern (C) void HTMLTableRowElement_bgColor_Set(Handle, string);
10031 extern (C) string HTMLTableRowElement_bgColor_Get(Handle);
10032 extern (C) Handle HTMLTableSectionElement_rows_Get(Handle);
10033 extern (C) Handle HTMLTableSectionElement_insertRow(Handle, int);
10034 extern (C) Handle HTMLTableSectionElement_insertRow_0(Handle);
10035 extern (C) void HTMLTableSectionElement_deleteRow(Handle, int);
10036 extern (C) void HTMLTableSectionElement_align_Set(Handle, string);
10037 extern (C) string HTMLTableSectionElement_align_Get(Handle);
10038 extern (C) void HTMLTableSectionElement_ch_Set(Handle, string);
10039 extern (C) string HTMLTableSectionElement_ch_Get(Handle);
10040 extern (C) void HTMLTableSectionElement_chOff_Set(Handle, string);
10041 extern (C) string HTMLTableSectionElement_chOff_Get(Handle);
10042 extern (C) void HTMLTableSectionElement_vAlign_Set(Handle, string);
10043 extern (C) string HTMLTableSectionElement_vAlign_Get(Handle);
10044 extern (C) Handle HTMLTemplateElement_content_Get(Handle);
10045 extern (C) void HTMLTextAreaElement_autocomplete_Set(Handle, string);
10046 extern (C) string HTMLTextAreaElement_autocomplete_Get(Handle);
10047 extern (C) void HTMLTextAreaElement_autofocus_Set(Handle, bool);
10048 extern (C) bool HTMLTextAreaElement_autofocus_Get(Handle);
10049 extern (C) void HTMLTextAreaElement_cols_Set(Handle, uint);
10050 extern (C) uint HTMLTextAreaElement_cols_Get(Handle);
10051 extern (C) void HTMLTextAreaElement_dirName_Set(Handle, string);
10052 extern (C) string HTMLTextAreaElement_dirName_Get(Handle);
10053 extern (C) void HTMLTextAreaElement_disabled_Set(Handle, bool);
10054 extern (C) bool HTMLTextAreaElement_disabled_Get(Handle);
10055 extern (C) Optional!(HTMLFormElement) HTMLTextAreaElement_form_Get(Handle);
10056 extern (C) void HTMLTextAreaElement_maxLength_Set(Handle, int);
10057 extern (C) int HTMLTextAreaElement_maxLength_Get(Handle);
10058 extern (C) void HTMLTextAreaElement_minLength_Set(Handle, int);
10059 extern (C) int HTMLTextAreaElement_minLength_Get(Handle);
10060 extern (C) void HTMLTextAreaElement_name_Set(Handle, string);
10061 extern (C) string HTMLTextAreaElement_name_Get(Handle);
10062 extern (C) void HTMLTextAreaElement_placeholder_Set(Handle, string);
10063 extern (C) string HTMLTextAreaElement_placeholder_Get(Handle);
10064 extern (C) void HTMLTextAreaElement_readOnly_Set(Handle, bool);
10065 extern (C) bool HTMLTextAreaElement_readOnly_Get(Handle);
10066 extern (C) void HTMLTextAreaElement_required_Set(Handle, bool);
10067 extern (C) bool HTMLTextAreaElement_required_Get(Handle);
10068 extern (C) void HTMLTextAreaElement_rows_Set(Handle, uint);
10069 extern (C) uint HTMLTextAreaElement_rows_Get(Handle);
10070 extern (C) void HTMLTextAreaElement_wrap_Set(Handle, string);
10071 extern (C) string HTMLTextAreaElement_wrap_Get(Handle);
10072 extern (C) string HTMLTextAreaElement_type_Get(Handle);
10073 extern (C) void HTMLTextAreaElement_defaultValue_Set(Handle, string);
10074 extern (C) string HTMLTextAreaElement_defaultValue_Get(Handle);
10075 extern (C) void HTMLTextAreaElement_value_Set(Handle, string);
10076 extern (C) string HTMLTextAreaElement_value_Get(Handle);
10077 extern (C) uint HTMLTextAreaElement_textLength_Get(Handle);
10078 extern (C) bool HTMLTextAreaElement_willValidate_Get(Handle);
10079 extern (C) Handle HTMLTextAreaElement_validity_Get(Handle);
10080 extern (C) string HTMLTextAreaElement_validationMessage_Get(Handle);
10081 extern (C) bool HTMLTextAreaElement_checkValidity(Handle);
10082 extern (C) bool HTMLTextAreaElement_reportValidity(Handle);
10083 extern (C) void HTMLTextAreaElement_setCustomValidity(Handle, string);
10084 extern (C) Handle HTMLTextAreaElement_labels_Get(Handle);
10085 extern (C) void HTMLTextAreaElement_select(Handle);
10086 extern (C) void HTMLTextAreaElement_selectionStart_Set(Handle, uint);
10087 extern (C) uint HTMLTextAreaElement_selectionStart_Get(Handle);
10088 extern (C) void HTMLTextAreaElement_selectionEnd_Set(Handle, uint);
10089 extern (C) uint HTMLTextAreaElement_selectionEnd_Get(Handle);
10090 extern (C) void HTMLTextAreaElement_selectionDirection_Set(Handle, string);
10091 extern (C) string HTMLTextAreaElement_selectionDirection_Get(Handle);
10092 extern (C) void HTMLTextAreaElement_setRangeText__string(Handle, string);
10093 extern (C) void HTMLTextAreaElement_setRangeText__string_uint_uint_SelectionMode(Handle, string, uint, uint, SelectionMode);
10094 extern (C) void HTMLTextAreaElement_setRangeText_0(Handle, string, uint, uint);
10095 extern (C) void HTMLTextAreaElement_setSelectionRange(Handle, uint, uint, string);
10096 extern (C) void HTMLTextAreaElement_setSelectionRange_0(Handle, uint, uint);
10097 extern (C) void HTMLTimeElement_dateTime_Set(Handle, string);
10098 extern (C) string HTMLTimeElement_dateTime_Get(Handle);
10099 extern (C) void HTMLTitleElement_text_Set(Handle, string);
10100 extern (C) string HTMLTitleElement_text_Get(Handle);
10101 extern (C) void HTMLTrackElement_kind_Set(Handle, string);
10102 extern (C) string HTMLTrackElement_kind_Get(Handle);
10103 extern (C) void HTMLTrackElement_src_Set(Handle, string);
10104 extern (C) string HTMLTrackElement_src_Get(Handle);
10105 extern (C) void HTMLTrackElement_srclang_Set(Handle, string);
10106 extern (C) string HTMLTrackElement_srclang_Get(Handle);
10107 extern (C) void HTMLTrackElement_label_Set(Handle, string);
10108 extern (C) string HTMLTrackElement_label_Get(Handle);
10109 extern (C) void HTMLTrackElement_default_Set(Handle, bool);
10110 extern (C) bool HTMLTrackElement_default_Get(Handle);
10111 extern (C) ushort HTMLTrackElement_readyState_Get(Handle);
10112 extern (C) Handle HTMLTrackElement_track_Get(Handle);
10113 extern (C) void HTMLUListElement_compact_Set(Handle, bool);
10114 extern (C) bool HTMLUListElement_compact_Get(Handle);
10115 extern (C) void HTMLUListElement_type_Set(Handle, string);
10116 extern (C) string HTMLUListElement_type_Get(Handle);
10117 extern (C) void HTMLVideoElement_width_Set(Handle, uint);
10118 extern (C) uint HTMLVideoElement_width_Get(Handle);
10119 extern (C) void HTMLVideoElement_height_Set(Handle, uint);
10120 extern (C) uint HTMLVideoElement_height_Get(Handle);
10121 extern (C) uint HTMLVideoElement_videoWidth_Get(Handle);
10122 extern (C) uint HTMLVideoElement_videoHeight_Get(Handle);
10123 extern (C) void HTMLVideoElement_poster_Set(Handle, string);
10124 extern (C) string HTMLVideoElement_poster_Get(Handle);
10125 extern (C) void HTMLVideoElement_playsInline_Set(Handle, bool);
10126 extern (C) bool HTMLVideoElement_playsInline_Get(Handle);
10127 extern (C) string HashChangeEvent_oldURL_Get(Handle);
10128 extern (C) string HashChangeEvent_newURL_Get(Handle);
10129 extern (C) void HashChangeEventInit_oldURL_Set(Handle, string);
10130 extern (C) string HashChangeEventInit_oldURL_Get(Handle);
10131 extern (C) void HashChangeEventInit_newURL_Set(Handle, string);
10132 extern (C) string HashChangeEventInit_newURL_Get(Handle);
10133 extern (C) uint History_length_Get(Handle);
10134 extern (C) void History_scrollRestoration_Set(Handle, ScrollRestoration);
10135 extern (C) ScrollRestoration History_scrollRestoration_Get(Handle);
10136 extern (C) Handle History_state_Get(Handle);
10137 extern (C) void History_go(Handle, int);
10138 extern (C) void History_go_0(Handle);
10139 extern (C) void History_back(Handle);
10140 extern (C) void History_forward(Handle);
10141 extern (C) void History_pushState(Handle, Handle, string, bool, string);
10142 extern (C) void History_pushState_0(Handle, Handle, string);
10143 extern (C) void History_replaceState(Handle, Handle, string, bool, string);
10144 extern (C) void History_replaceState_0(Handle, Handle, string);
10145 extern (C) uint ImageBitmap_width_Get(Handle);
10146 extern (C) uint ImageBitmap_height_Get(Handle);
10147 extern (C) void ImageBitmap_close(Handle);
10148 extern (C) void ImageBitmapOptions_imageOrientation_Set(Handle, ImageOrientation);
10149 extern (C) ImageOrientation ImageBitmapOptions_imageOrientation_Get(Handle);
10150 extern (C) void ImageBitmapOptions_premultiplyAlpha_Set(Handle, PremultiplyAlpha);
10151 extern (C) PremultiplyAlpha ImageBitmapOptions_premultiplyAlpha_Get(Handle);
10152 extern (C) void ImageBitmapOptions_colorSpaceConversion_Set(Handle, ColorSpaceConversion);
10153 extern (C) ColorSpaceConversion ImageBitmapOptions_colorSpaceConversion_Get(Handle);
10154 extern (C) void ImageBitmapOptions_resizeWidth_Set(Handle, uint);
10155 extern (C) uint ImageBitmapOptions_resizeWidth_Get(Handle);
10156 extern (C) void ImageBitmapOptions_resizeHeight_Set(Handle, uint);
10157 extern (C) uint ImageBitmapOptions_resizeHeight_Get(Handle);
10158 extern (C) void ImageBitmapOptions_resizeQuality_Set(Handle, ResizeQuality);
10159 extern (C) ResizeQuality ImageBitmapOptions_resizeQuality_Get(Handle);
10160 extern (C) Handle ImageBitmapRenderingContext_canvas_Get(Handle);
10161 extern (C) void ImageBitmapRenderingContext_transferFromImageBitmap(Handle, bool, Handle);
10162 extern (C) void ImageBitmapRenderingContextSettings_alpha_Set(Handle, bool);
10163 extern (C) bool ImageBitmapRenderingContextSettings_alpha_Get(Handle);
10164 extern (C) uint ImageData_width_Get(Handle);
10165 extern (C) uint ImageData_height_Get(Handle);
10166 extern (C) Handle ImageData_data_Get(Handle);
10167 extern (C) void ImageEncodeOptions_type_Set(Handle, string);
10168 extern (C) string ImageEncodeOptions_type_Get(Handle);
10169 extern (C) void ImageEncodeOptions_quality_Set(Handle, double);
10170 extern (C) double ImageEncodeOptions_quality_Get(Handle);
10171 extern (C) void Location_href_Set(Handle, string);
10172 extern (C) string Location_href_Get(Handle);
10173 extern (C) string Location_origin_Get(Handle);
10174 extern (C) void Location_protocol_Set(Handle, string);
10175 extern (C) string Location_protocol_Get(Handle);
10176 extern (C) void Location_host_Set(Handle, string);
10177 extern (C) string Location_host_Get(Handle);
10178 extern (C) void Location_hostname_Set(Handle, string);
10179 extern (C) string Location_hostname_Get(Handle);
10180 extern (C) void Location_port_Set(Handle, string);
10181 extern (C) string Location_port_Get(Handle);
10182 extern (C) void Location_pathname_Set(Handle, string);
10183 extern (C) string Location_pathname_Get(Handle);
10184 extern (C) void Location_search_Set(Handle, string);
10185 extern (C) string Location_search_Get(Handle);
10186 extern (C) void Location_hash_Set(Handle, string);
10187 extern (C) string Location_hash_Get(Handle);
10188 extern (C) void Location_assign(Handle, string);
10189 extern (C) void Location_replace(Handle, string);
10190 extern (C) void Location_reload(Handle);
10191 extern (C) Handle Location_ancestorOrigins_Get(Handle);
10192 extern (C) ushort MediaError_code_Get(Handle);
10193 extern (C) string MediaError_message_Get(Handle);
10194 extern (C) Handle MessageChannel_port1_Get(Handle);
10195 extern (C) Handle MessageChannel_port2_Get(Handle);
10196 extern (C) Handle MessageEvent_data_Get(Handle);
10197 extern (C) string MessageEvent_origin_Get(Handle);
10198 extern (C) string MessageEvent_lastEventId_Get(Handle);
10199 extern (C) Optional!(MessageEventSource) MessageEvent_source_Get(Handle);
10200 extern (C) Handle MessageEvent_ports_Get(Handle);
10201 extern (C) void MessageEvent_initMessageEvent(Handle, string, bool, bool, Handle, string, string, bool, scope ref MessageEventSource, Handle);
10202 extern (C) void MessageEvent_initMessageEvent_0(Handle, string, bool, bool, Handle, string, string, bool, scope ref MessageEventSource);
10203 extern (C) void MessageEvent_initMessageEvent_1(Handle, string, bool, bool, Handle, string, string);
10204 extern (C) void MessageEvent_initMessageEvent_2(Handle, string, bool, bool, Handle, string);
10205 extern (C) void MessageEvent_initMessageEvent_3(Handle, string, bool, bool, Handle);
10206 extern (C) void MessageEvent_initMessageEvent_4(Handle, string, bool, bool);
10207 extern (C) void MessageEvent_initMessageEvent_5(Handle, string, bool);
10208 extern (C) void MessageEvent_initMessageEvent_6(Handle, string);
10209 extern (C) void MessageEventInit_data_Set(Handle, Handle);
10210 extern (C) Handle MessageEventInit_data_Get(Handle);
10211 extern (C) void MessageEventInit_origin_Set(Handle, string);
10212 extern (C) string MessageEventInit_origin_Get(Handle);
10213 extern (C) void MessageEventInit_lastEventId_Set(Handle, string);
10214 extern (C) string MessageEventInit_lastEventId_Get(Handle);
10215 extern (C) void MessageEventInit_source_Set(Handle, bool, scope ref MessageEventSource);
10216 extern (C) Optional!(MessageEventSource) MessageEventInit_source_Get(Handle);
10217 extern (C) void MessageEventInit_ports_Set(Handle, Handle);
10218 extern (C) Handle MessageEventInit_ports_Get(Handle);
10219 extern (C) void MessagePort_postMessage__Handle_sequence(Handle, Handle, Handle);
10220 extern (C) void MessagePort_postMessage__Handle_Handle(Handle, Handle, Handle);
10221 extern (C) void MessagePort_postMessage_0(Handle, Handle);
10222 extern (C) void MessagePort_start(Handle);
10223 extern (C) void MessagePort_close(Handle);
10224 extern (C) void MessagePort_onmessage_Set(Handle, EventHandler);
10225 extern (C) EventHandler MessagePort_onmessage_Get(Handle);
10226 extern (C) void MessagePort_onmessageerror_Set(Handle, EventHandler);
10227 extern (C) EventHandler MessagePort_onmessageerror_Get(Handle);
10228 extern (C) string MimeType_type_Get(Handle);
10229 extern (C) string MimeType_description_Get(Handle);
10230 extern (C) string MimeType_suffixes_Get(Handle);
10231 extern (C) Handle MimeType_enabledPlugin_Get(Handle);
10232 extern (C) uint MimeTypeArray_length_Get(Handle);
10233 extern (C) Optional!(MimeType) MimeTypeArray_item_getter(Handle, uint);
10234 extern (C) Optional!(MimeType) MimeTypeArray_namedItem_getter(Handle, string);
10235 extern (C) Handle Navigator_clipboard_Get(Handle);
10236 extern (C) Handle Navigator_permissions_Get(Handle);
10237 extern (C) bool Navigator_vibrate(Handle, scope ref VibratePattern);
10238 extern (C) Handle Navigator_mediaDevices_Get(Handle);
10239 extern (C) void Navigator_getUserMedia(Handle, Handle, NavigatorUserMediaSuccessCallback, NavigatorUserMediaErrorCallback);
10240 extern (C) int Navigator_maxTouchPoints_Get(Handle);
10241 extern (C) Handle Navigator_serviceWorker_Get(Handle);
10242 extern (C) uint NavigatorConcurrentHardware_hardwareConcurrency_Get(Handle);
10243 extern (C) void NavigatorContentUtils_registerProtocolHandler(Handle, string, string, string);
10244 extern (C) void NavigatorContentUtils_unregisterProtocolHandler(Handle, string, string);
10245 extern (C) bool NavigatorCookies_cookieEnabled_Get(Handle);
10246 extern (C) string NavigatorID_appCodeName_Get(Handle);
10247 extern (C) string NavigatorID_appName_Get(Handle);
10248 extern (C) string NavigatorID_appVersion_Get(Handle);
10249 extern (C) string NavigatorID_platform_Get(Handle);
10250 extern (C) string NavigatorID_product_Get(Handle);
10251 extern (C) string NavigatorID_productSub_Get(Handle);
10252 extern (C) string NavigatorID_userAgent_Get(Handle);
10253 extern (C) string NavigatorID_vendor_Get(Handle);
10254 extern (C) string NavigatorID_vendorSub_Get(Handle);
10255 extern (C) bool NavigatorID_taintEnabled(Handle);
10256 extern (C) string NavigatorID_oscpu_Get(Handle);
10257 extern (C) string NavigatorLanguage_language_Get(Handle);
10258 extern (C) Handle NavigatorLanguage_languages_Get(Handle);
10259 extern (C) bool NavigatorOnLine_onLine_Get(Handle);
10260 extern (C) Handle NavigatorPlugins_plugins_Get(Handle);
10261 extern (C) Handle NavigatorPlugins_mimeTypes_Get(Handle);
10262 extern (C) bool NavigatorPlugins_javaEnabled(Handle);
10263 extern (C) void OffscreenCanvas_width_Set(Handle, uint);
10264 extern (C) uint OffscreenCanvas_width_Get(Handle);
10265 extern (C) void OffscreenCanvas_height_Set(Handle, uint);
10266 extern (C) uint OffscreenCanvas_height_Get(Handle);
10267 extern (C) Optional!(OffscreenRenderingContext) OffscreenCanvas_getContext(Handle, OffscreenRenderingContextId, Handle);
10268 extern (C) Optional!(OffscreenRenderingContext) OffscreenCanvas_getContext_0(Handle, OffscreenRenderingContextId);
10269 extern (C) Handle OffscreenCanvas_transferToImageBitmap(Handle);
10270 extern (C) Handle OffscreenCanvas_convertToBlob(Handle, Handle);
10271 extern (C) Handle OffscreenCanvas_convertToBlob_0(Handle);
10272 extern (C) void OffscreenCanvasRenderingContext2D_commit(Handle);
10273 extern (C) Handle OffscreenCanvasRenderingContext2D_canvas_Get(Handle);
10274 extern (C) bool PageTransitionEvent_persisted_Get(Handle);
10275 extern (C) void PageTransitionEventInit_persisted_Set(Handle, bool);
10276 extern (C) bool PageTransitionEventInit_persisted_Get(Handle);
10277 extern (C) void Path2D_addPath(Handle, Handle, Handle);
10278 extern (C) void Path2D_addPath_0(Handle, Handle);
10279 extern (C) string Plugin_name_Get(Handle);
10280 extern (C) string Plugin_description_Get(Handle);
10281 extern (C) string Plugin_filename_Get(Handle);
10282 extern (C) uint Plugin_length_Get(Handle);
10283 extern (C) Optional!(MimeType) Plugin_item_getter(Handle, uint);
10284 extern (C) Optional!(MimeType) Plugin_namedItem_getter(Handle, string);
10285 extern (C) void PluginArray_refresh(Handle, bool);
10286 extern (C) void PluginArray_refresh_0(Handle);
10287 extern (C) uint PluginArray_length_Get(Handle);
10288 extern (C) Optional!(Plugin) PluginArray_item_getter(Handle, uint);
10289 extern (C) Optional!(Plugin) PluginArray_namedItem_getter(Handle, string);
10290 extern (C) Handle PopStateEvent_state_Get(Handle);
10291 extern (C) void PopStateEventInit_state_Set(Handle, Handle);
10292 extern (C) Handle PopStateEventInit_state_Get(Handle);
10293 extern (C) void PostMessageOptions_transfer_Set(Handle, Handle);
10294 extern (C) Handle PostMessageOptions_transfer_Get(Handle);
10295 extern (C) Handle PromiseRejectionEvent_promise_Get(Handle);
10296 extern (C) Handle PromiseRejectionEvent_reason_Get(Handle);
10297 extern (C) void PromiseRejectionEventInit_promise_Set(Handle, Handle);
10298 extern (C) Handle PromiseRejectionEventInit_promise_Get(Handle);
10299 extern (C) void PromiseRejectionEventInit_reason_Set(Handle, Handle);
10300 extern (C) Handle PromiseRejectionEventInit_reason_Get(Handle);
10301 extern (C) void RadioNodeList_value_Set(Handle, string);
10302 extern (C) string RadioNodeList_value_Get(Handle);
10303 extern (C) Handle SharedWorker_port_Get(Handle);
10304 extern (C) Handle SharedWorker_FileReaderSync(Handle);
10305 extern (C) Handle SharedWorker_ProgressEvent(Handle, string, Handle);
10306 extern (C) Handle SharedWorker_XMLHttpRequest(Handle);
10307 extern (C) string SharedWorkerGlobalScope_name_Get(Handle);
10308 extern (C) void SharedWorkerGlobalScope_close(Handle);
10309 extern (C) void SharedWorkerGlobalScope_onconnect_Set(Handle, EventHandler);
10310 extern (C) EventHandler SharedWorkerGlobalScope_onconnect_Get(Handle);
10311 extern (C) uint Storage_length_Get(Handle);
10312 extern (C) Optional!(string) Storage_key(Handle, uint);
10313 extern (C) Optional!(string) Storage_getItem_getter(Handle, string);
10314 extern (C) void Storage_setItem_setter(Handle, string, string);
10315 extern (C) void Storage_removeItem(Handle, string);
10316 extern (C) void Storage_clear(Handle);
10317 extern (C) Optional!(string) StorageEvent_key_Get(Handle);
10318 extern (C) Optional!(string) StorageEvent_oldValue_Get(Handle);
10319 extern (C) Optional!(string) StorageEvent_newValue_Get(Handle);
10320 extern (C) string StorageEvent_url_Get(Handle);
10321 extern (C) Optional!(Storage) StorageEvent_storageArea_Get(Handle);
10322 extern (C) void StorageEvent_initStorageEvent(Handle, string, bool, bool, bool, string, bool, string, bool, string, string, bool, Handle);
10323 extern (C) void StorageEvent_initStorageEvent_0(Handle, string, bool, bool, bool, string, bool, string, bool, string, string);
10324 extern (C) void StorageEvent_initStorageEvent_1(Handle, string, bool, bool, bool, string, bool, string, bool, string);
10325 extern (C) void StorageEvent_initStorageEvent_2(Handle, string, bool, bool, bool, string, bool, string);
10326 extern (C) void StorageEvent_initStorageEvent_3(Handle, string, bool, bool, bool, string);
10327 extern (C) void StorageEvent_initStorageEvent_4(Handle, string, bool, bool);
10328 extern (C) void StorageEvent_initStorageEvent_5(Handle, string, bool);
10329 extern (C) void StorageEvent_initStorageEvent_6(Handle, string);
10330 extern (C) void StorageEventInit_key_Set(Handle, bool, string);
10331 extern (C) Optional!(string) StorageEventInit_key_Get(Handle);
10332 extern (C) void StorageEventInit_oldValue_Set(Handle, bool, string);
10333 extern (C) Optional!(string) StorageEventInit_oldValue_Get(Handle);
10334 extern (C) void StorageEventInit_newValue_Set(Handle, bool, string);
10335 extern (C) Optional!(string) StorageEventInit_newValue_Get(Handle);
10336 extern (C) void StorageEventInit_url_Set(Handle, string);
10337 extern (C) string StorageEventInit_url_Get(Handle);
10338 extern (C) void StorageEventInit_storageArea_Set(Handle, bool, Handle);
10339 extern (C) Optional!(Storage) StorageEventInit_storageArea_Get(Handle);
10340 extern (C) double TextMetrics_width_Get(Handle);
10341 extern (C) double TextMetrics_actualBoundingBoxLeft_Get(Handle);
10342 extern (C) double TextMetrics_actualBoundingBoxRight_Get(Handle);
10343 extern (C) double TextMetrics_fontBoundingBoxAscent_Get(Handle);
10344 extern (C) double TextMetrics_fontBoundingBoxDescent_Get(Handle);
10345 extern (C) double TextMetrics_actualBoundingBoxAscent_Get(Handle);
10346 extern (C) double TextMetrics_actualBoundingBoxDescent_Get(Handle);
10347 extern (C) double TextMetrics_emHeightAscent_Get(Handle);
10348 extern (C) double TextMetrics_emHeightDescent_Get(Handle);
10349 extern (C) double TextMetrics_hangingBaseline_Get(Handle);
10350 extern (C) double TextMetrics_alphabeticBaseline_Get(Handle);
10351 extern (C) double TextMetrics_ideographicBaseline_Get(Handle);
10352 extern (C) TextTrackKind TextTrack_kind_Get(Handle);
10353 extern (C) string TextTrack_label_Get(Handle);
10354 extern (C) string TextTrack_language_Get(Handle);
10355 extern (C) string TextTrack_id_Get(Handle);
10356 extern (C) string TextTrack_inBandMetadataTrackDispatchType_Get(Handle);
10357 extern (C) void TextTrack_mode_Set(Handle, TextTrackMode);
10358 extern (C) TextTrackMode TextTrack_mode_Get(Handle);
10359 extern (C) Optional!(TextTrackCueList) TextTrack_cues_Get(Handle);
10360 extern (C) Optional!(TextTrackCueList) TextTrack_activeCues_Get(Handle);
10361 extern (C) void TextTrack_addCue(Handle, Handle);
10362 extern (C) void TextTrack_removeCue(Handle, Handle);
10363 extern (C) void TextTrack_oncuechange_Set(Handle, EventHandler);
10364 extern (C) EventHandler TextTrack_oncuechange_Get(Handle);
10365 extern (C) Optional!(SourceBuffer) TextTrack_sourceBuffer_Get(Handle);
10366 extern (C) Optional!(TextTrack) TextTrackCue_track_Get(Handle);
10367 extern (C) void TextTrackCue_id_Set(Handle, string);
10368 extern (C) string TextTrackCue_id_Get(Handle);
10369 extern (C) void TextTrackCue_startTime_Set(Handle, double);
10370 extern (C) double TextTrackCue_startTime_Get(Handle);
10371 extern (C) void TextTrackCue_endTime_Set(Handle, double);
10372 extern (C) double TextTrackCue_endTime_Get(Handle);
10373 extern (C) void TextTrackCue_pauseOnExit_Set(Handle, bool);
10374 extern (C) bool TextTrackCue_pauseOnExit_Get(Handle);
10375 extern (C) void TextTrackCue_onenter_Set(Handle, EventHandler);
10376 extern (C) EventHandler TextTrackCue_onenter_Get(Handle);
10377 extern (C) void TextTrackCue_onexit_Set(Handle, EventHandler);
10378 extern (C) EventHandler TextTrackCue_onexit_Get(Handle);
10379 extern (C) uint TextTrackCueList_length_Get(Handle);
10380 extern (C) Handle TextTrackCueList_getter__uint(Handle, uint);
10381 extern (C) Optional!(TextTrackCue) TextTrackCueList_getCueById(Handle, string);
10382 extern (C) uint TextTrackList_length_Get(Handle);
10383 extern (C) Handle TextTrackList_getter__uint(Handle, uint);
10384 extern (C) Optional!(TextTrack) TextTrackList_getTrackById(Handle, string);
10385 extern (C) void TextTrackList_onchange_Set(Handle, EventHandler);
10386 extern (C) EventHandler TextTrackList_onchange_Get(Handle);
10387 extern (C) void TextTrackList_onaddtrack_Set(Handle, EventHandler);
10388 extern (C) EventHandler TextTrackList_onaddtrack_Get(Handle);
10389 extern (C) void TextTrackList_onremovetrack_Set(Handle, EventHandler);
10390 extern (C) EventHandler TextTrackList_onremovetrack_Get(Handle);
10391 extern (C) uint TimeRanges_length_Get(Handle);
10392 extern (C) double TimeRanges_start(Handle, uint);
10393 extern (C) double TimeRanges_end(Handle, uint);
10394 extern (C) Optional!(SumType!(VideoTrack, AudioTrack, TextTrack)) TrackEvent_track_Get(Handle);
10395 extern (C) void TrackEventInit_track_Set(Handle, bool, scope ref SumType!(VideoTrack, AudioTrack, TextTrack));
10396 extern (C) Optional!(SumType!(VideoTrack, AudioTrack, TextTrack)) TrackEventInit_track_Get(Handle);
10397 extern (C) bool ValidityState_valueMissing_Get(Handle);
10398 extern (C) bool ValidityState_typeMismatch_Get(Handle);
10399 extern (C) bool ValidityState_patternMismatch_Get(Handle);
10400 extern (C) bool ValidityState_tooLong_Get(Handle);
10401 extern (C) bool ValidityState_tooShort_Get(Handle);
10402 extern (C) bool ValidityState_rangeUnderflow_Get(Handle);
10403 extern (C) bool ValidityState_rangeOverflow_Get(Handle);
10404 extern (C) bool ValidityState_stepMismatch_Get(Handle);
10405 extern (C) bool ValidityState_badInput_Get(Handle);
10406 extern (C) bool ValidityState_customError_Get(Handle);
10407 extern (C) bool ValidityState_valid_Get(Handle);
10408 extern (C) string VideoTrack_id_Get(Handle);
10409 extern (C) string VideoTrack_kind_Get(Handle);
10410 extern (C) string VideoTrack_label_Get(Handle);
10411 extern (C) string VideoTrack_language_Get(Handle);
10412 extern (C) void VideoTrack_selected_Set(Handle, bool);
10413 extern (C) bool VideoTrack_selected_Get(Handle);
10414 extern (C) Optional!(SourceBuffer) VideoTrack_sourceBuffer_Get(Handle);
10415 extern (C) uint VideoTrackList_length_Get(Handle);
10416 extern (C) Handle VideoTrackList_getter__uint(Handle, uint);
10417 extern (C) Optional!(VideoTrack) VideoTrackList_getTrackById(Handle, string);
10418 extern (C) int VideoTrackList_selectedIndex_Get(Handle);
10419 extern (C) void VideoTrackList_onchange_Set(Handle, EventHandler);
10420 extern (C) EventHandler VideoTrackList_onchange_Get(Handle);
10421 extern (C) void VideoTrackList_onaddtrack_Set(Handle, EventHandler);
10422 extern (C) EventHandler VideoTrackList_onaddtrack_Get(Handle);
10423 extern (C) void VideoTrackList_onremovetrack_Set(Handle, EventHandler);
10424 extern (C) EventHandler VideoTrackList_onremovetrack_Get(Handle);
10425 extern (C) string WebSocket_url_Get(Handle);
10426 extern (C) ushort WebSocket_readyState_Get(Handle);
10427 extern (C) uint WebSocket_bufferedAmount_Get(Handle);
10428 extern (C) void WebSocket_onopen_Set(Handle, EventHandler);
10429 extern (C) EventHandler WebSocket_onopen_Get(Handle);
10430 extern (C) void WebSocket_onerror_Set(Handle, EventHandler);
10431 extern (C) EventHandler WebSocket_onerror_Get(Handle);
10432 extern (C) void WebSocket_onclose_Set(Handle, EventHandler);
10433 extern (C) EventHandler WebSocket_onclose_Get(Handle);
10434 extern (C) string WebSocket_extensions_Get(Handle);
10435 extern (C) string WebSocket_protocol_Get(Handle);
10436 extern (C) void WebSocket_close(Handle, ushort, string);
10437 extern (C) void WebSocket_close_0(Handle, ushort);
10438 extern (C) void WebSocket_close_1(Handle);
10439 extern (C) void WebSocket_onmessage_Set(Handle, EventHandler);
10440 extern (C) EventHandler WebSocket_onmessage_Get(Handle);
10441 extern (C) void WebSocket_binaryType_Set(Handle, BinaryType);
10442 extern (C) BinaryType WebSocket_binaryType_Get(Handle);
10443 extern (C) void WebSocket_send__string(Handle, string);
10444 extern (C) void WebSocket_send__Handle(Handle, Handle);
10445 extern (C) void WebSocket_send__ArrayBufferView(Handle, scope ref ArrayBufferView);
10446 extern (C) Handle Window_window_Get(Handle);
10447 extern (C) Handle Window_self_Get(Handle);
10448 extern (C) Handle Window_document_Get(Handle);
10449 extern (C) void Window_name_Set(Handle, string);
10450 extern (C) string Window_name_Get(Handle);
10451 extern (C) Handle Window_location_Get(Handle);
10452 extern (C) Handle Window_history_Get(Handle);
10453 extern (C) Handle Window_customElements_Get(Handle);
10454 extern (C) Handle Window_locationbar_Get(Handle);
10455 extern (C) Handle Window_menubar_Get(Handle);
10456 extern (C) Handle Window_personalbar_Get(Handle);
10457 extern (C) Handle Window_scrollbars_Get(Handle);
10458 extern (C) Handle Window_statusbar_Get(Handle);
10459 extern (C) Handle Window_toolbar_Get(Handle);
10460 extern (C) void Window_status_Set(Handle, string);
10461 extern (C) string Window_status_Get(Handle);
10462 extern (C) void Window_close(Handle);
10463 extern (C) bool Window_closed_Get(Handle);
10464 extern (C) void Window_stop(Handle);
10465 extern (C) void Window_focus(Handle);
10466 extern (C) void Window_blur(Handle);
10467 extern (C) Handle Window_frames_Get(Handle);
10468 extern (C) uint Window_length_Get(Handle);
10469 extern (C) Optional!(Window) Window_top_Get(Handle);
10470 extern (C) void Window_opener_Set(Handle, Handle);
10471 extern (C) Handle Window_opener_Get(Handle);
10472 extern (C) Optional!(Window) Window_parent_Get(Handle);
10473 extern (C) Optional!(Element) Window_frameElement_Get(Handle);
10474 extern (C) Optional!(Window) Window_open(Handle, string, string, string);
10475 extern (C) Optional!(Window) Window_open_0(Handle, string, string);
10476 extern (C) Optional!(Window) Window_open_1(Handle, string);
10477 extern (C) Optional!(Window) Window_open_2(Handle);
10478 extern (C) Handle Window_getter__string(Handle, string);
10479 extern (C) Handle Window_navigator_Get(Handle);
10480 extern (C) Handle Window_applicationCache_Get(Handle);
10481 extern (C) void Window_alert__(Handle);
10482 extern (C) void Window_alert__string(Handle, string);
10483 extern (C) bool Window_confirm(Handle, string);
10484 extern (C) bool Window_confirm_0(Handle);
10485 extern (C) Optional!(string) Window_prompt(Handle, string, string);
10486 extern (C) Optional!(string) Window_prompt_0(Handle, string);
10487 extern (C) Optional!(string) Window_prompt_1(Handle);
10488 extern (C) void Window_print(Handle);
10489 extern (C) void Window_postMessage__Handle_string_sequence(Handle, Handle, string, Handle);
10490 extern (C) void Window_postMessage_0_Handle_string(Handle, Handle, string);
10491 extern (C) void Window_postMessage__Handle_Handle(Handle, Handle, Handle);
10492 extern (C) void Window_postMessage_0_Handle(Handle, Handle);
10493 extern (C) Handle Window_matchMedia(Handle, string);
10494 extern (C) Handle Window_screen_Get(Handle);
10495 extern (C) void Window_moveTo(Handle, int, int);
10496 extern (C) void Window_moveBy(Handle, int, int);
10497 extern (C) void Window_resizeTo(Handle, int, int);
10498 extern (C) void Window_resizeBy(Handle, int, int);
10499 extern (C) int Window_innerWidth_Get(Handle);
10500 extern (C) int Window_innerHeight_Get(Handle);
10501 extern (C) double Window_scrollX_Get(Handle);
10502 extern (C) double Window_pageXOffset_Get(Handle);
10503 extern (C) double Window_scrollY_Get(Handle);
10504 extern (C) double Window_pageYOffset_Get(Handle);
10505 extern (C) void Window_scroll__Handle(Handle, Handle);
10506 extern (C) void Window_scroll_0(Handle);
10507 extern (C) void Window_scroll__double_double(Handle, double, double);
10508 extern (C) void Window_scrollTo__Handle(Handle, Handle);
10509 extern (C) void Window_scrollTo_0(Handle);
10510 extern (C) void Window_scrollTo__double_double(Handle, double, double);
10511 extern (C) void Window_scrollBy__Handle(Handle, Handle);
10512 extern (C) void Window_scrollBy_0(Handle);
10513 extern (C) void Window_scrollBy__double_double(Handle, double, double);
10514 extern (C) int Window_screenX_Get(Handle);
10515 extern (C) int Window_screenLeft_Get(Handle);
10516 extern (C) int Window_screenY_Get(Handle);
10517 extern (C) int Window_screenTop_Get(Handle);
10518 extern (C) int Window_outerWidth_Get(Handle);
10519 extern (C) int Window_outerHeight_Get(Handle);
10520 extern (C) double Window_devicePixelRatio_Get(Handle);
10521 extern (C) Handle Window_event_Get(Handle);
10522 extern (C) void Window_captureEvents(Handle);
10523 extern (C) void Window_releaseEvents(Handle);
10524 extern (C) Handle Window_external_Get(Handle);
10525 extern (C) Handle Window_getComputedStyle(Handle, Handle, bool, string);
10526 extern (C) Handle Window_getComputedStyle_0(Handle, Handle);
10527 extern (C) short Window_orientation_Get(Handle);
10528 extern (C) void Window_onorientationchange_Set(Handle, EventHandler);
10529 extern (C) EventHandler Window_onorientationchange_Get(Handle);
10530 extern (C) Handle Window_Blob(Handle, Handle, Handle);
10531 extern (C) Handle Window_File(Handle, Handle, string, Handle);
10532 extern (C) Handle Window_FileReader(Handle);
10533 extern (C) Handle Window_Headers(Handle, scope ref HeadersInit);
10534 extern (C) Handle Window_Request(Handle, scope ref RequestInfo, Handle);
10535 extern (C) Handle Window_Response(Handle, bool, scope ref BodyInit, Handle);
10536 extern (C) Handle Window_Notification(Handle, string, Handle);
10537 extern (C) Handle Window_AbortController(Handle);
10538 extern (C) Handle Window_CustomEvent(Handle, string, Handle);
10539 extern (C) Handle Window_Event(Handle, string, Handle);
10540 extern (C) Handle Window_EventTarget(Handle);
10541 extern (C) Handle Window_BroadcastChannel(Handle, string);
10542 extern (C) Handle Window_CloseEvent(Handle, string, Handle);
10543 extern (C) Handle Window_ErrorEvent(Handle, string, Handle);
10544 extern (C) Handle Window_EventSource(Handle, string, Handle);
10545 extern (C) Handle Window_ImageData__uint_uint(Handle, uint, uint);
10546 extern (C) Handle Window_ImageData__Handle_uint_uint(Handle, Handle, uint, uint);
10547 extern (C) Handle Window_MessageChannel(Handle);
10548 extern (C) Handle Window_MessageEvent(Handle, string, Handle);
10549 extern (C) Handle Window_OffscreenCanvas(Handle, uint, uint);
10550 extern (C) Handle Window_Path2D(Handle, scope ref SumType!(Path2D, string));
10551 extern (C) Handle Window_PromiseRejectionEvent(Handle, string, Handle);
10552 extern (C) Handle Window_SharedWorker(Handle, string, scope ref SumType!(string, WorkerOptions));
10553 extern (C) Handle Window_WebSocket(Handle, string, scope ref SumType!(string, Sequence!(string)));
10554 extern (C) Handle Window_Worker(Handle, string, Handle);
10555 extern (C) Handle Window_DOMException(Handle, string, string);
10556 extern (C) Handle Window_URL(Handle, string, string);
10557 extern (C) Handle Window_URLSearchParams(Handle, scope ref SumType!(Sequence!(Sequence!(string)), Record!(string, string), string));
10558 extern (C) Handle Window_DOMMatrix(Handle, scope ref SumType!(string, Sequence!(double)));
10559 extern (C) Handle Window_DOMMatrixReadOnly(Handle, scope ref SumType!(string, Sequence!(double)));
10560 extern (C) Handle Window_DOMPoint(Handle, double, double, double, double);
10561 extern (C) Handle Window_DOMPointReadOnly(Handle, double, double, double, double);
10562 extern (C) Handle Window_DOMQuad(Handle, Handle, Handle, Handle, Handle);
10563 extern (C) Handle Window_DOMRect(Handle, double, double, double, double);
10564 extern (C) Handle Window_DOMRectReadOnly(Handle, double, double, double, double);
10565 extern (C) Handle Window_IDBVersionChangeEvent(Handle, string, Handle);
10566 extern (C) Handle Window_ByteLengthQueuingStrategy(Handle, Handle);
10567 extern (C) Handle Window_CountQueuingStrategy(Handle, Handle);
10568 extern (C) Handle Window_ReadableStream__Handle_Handle(Handle, Handle, Handle);
10569 extern (C) Handle Window_ReadableStreamBYOBReader(Handle, Handle);
10570 extern (C) Handle Window_ReadableStreamDefaultReader(Handle, Handle);
10571 extern (C) Handle Window_TransformStream(Handle, Handle, Handle, Handle);
10572 extern (C) Handle Window_WritableStream(Handle, Handle, Handle);
10573 extern (C) Handle Window_WritableStreamDefaultWriter(Handle, Handle);
10574 extern (C) Handle Window_FormData(Handle, Handle);
10575 extern (C) Handle Window_ProgressEvent(Handle, string, Handle);
10576 extern (C) Handle Window_XMLHttpRequest(Handle);
10577 extern (C) Handle Window_TextDecoder(Handle, string, Handle);
10578 extern (C) Handle Window_TextDecoderStream(Handle, string, Handle);
10579 extern (C) Handle Window_TextEncoder(Handle);
10580 extern (C) Handle Window_TextEncoderStream(Handle);
10581 extern (C) void WindowEventHandlers_onafterprint_Set(Handle, EventHandler);
10582 extern (C) EventHandler WindowEventHandlers_onafterprint_Get(Handle);
10583 extern (C) void WindowEventHandlers_onbeforeprint_Set(Handle, EventHandler);
10584 extern (C) EventHandler WindowEventHandlers_onbeforeprint_Get(Handle);
10585 extern (C) void WindowEventHandlers_onbeforeunload_Set(Handle, bool, OnBeforeUnloadEventHandlerNonNull);
10586 extern (C) OnBeforeUnloadEventHandler WindowEventHandlers_onbeforeunload_Get(Handle);
10587 extern (C) void WindowEventHandlers_onhashchange_Set(Handle, EventHandler);
10588 extern (C) EventHandler WindowEventHandlers_onhashchange_Get(Handle);
10589 extern (C) void WindowEventHandlers_onlanguagechange_Set(Handle, EventHandler);
10590 extern (C) EventHandler WindowEventHandlers_onlanguagechange_Get(Handle);
10591 extern (C) void WindowEventHandlers_onmessage_Set(Handle, EventHandler);
10592 extern (C) EventHandler WindowEventHandlers_onmessage_Get(Handle);
10593 extern (C) void WindowEventHandlers_onmessageerror_Set(Handle, EventHandler);
10594 extern (C) EventHandler WindowEventHandlers_onmessageerror_Get(Handle);
10595 extern (C) void WindowEventHandlers_onoffline_Set(Handle, EventHandler);
10596 extern (C) EventHandler WindowEventHandlers_onoffline_Get(Handle);
10597 extern (C) void WindowEventHandlers_ononline_Set(Handle, EventHandler);
10598 extern (C) EventHandler WindowEventHandlers_ononline_Get(Handle);
10599 extern (C) void WindowEventHandlers_onpagehide_Set(Handle, EventHandler);
10600 extern (C) EventHandler WindowEventHandlers_onpagehide_Get(Handle);
10601 extern (C) void WindowEventHandlers_onpageshow_Set(Handle, EventHandler);
10602 extern (C) EventHandler WindowEventHandlers_onpageshow_Get(Handle);
10603 extern (C) void WindowEventHandlers_onpopstate_Set(Handle, EventHandler);
10604 extern (C) EventHandler WindowEventHandlers_onpopstate_Get(Handle);
10605 extern (C) void WindowEventHandlers_onrejectionhandled_Set(Handle, EventHandler);
10606 extern (C) EventHandler WindowEventHandlers_onrejectionhandled_Get(Handle);
10607 extern (C) void WindowEventHandlers_onstorage_Set(Handle, EventHandler);
10608 extern (C) EventHandler WindowEventHandlers_onstorage_Get(Handle);
10609 extern (C) void WindowEventHandlers_onunhandledrejection_Set(Handle, EventHandler);
10610 extern (C) EventHandler WindowEventHandlers_onunhandledrejection_Get(Handle);
10611 extern (C) void WindowEventHandlers_onunload_Set(Handle, EventHandler);
10612 extern (C) EventHandler WindowEventHandlers_onunload_Get(Handle);
10613 extern (C) Handle WindowLocalStorage_localStorage_Get(Handle);
10614 extern (C) string WindowOrWorkerGlobalScope_origin_Get(Handle);
10615 extern (C) string WindowOrWorkerGlobalScope_btoa(Handle, string);
10616 extern (C) string WindowOrWorkerGlobalScope_atob(Handle, string);
10617 extern (C) int WindowOrWorkerGlobalScope_setTimeout(Handle, scope ref TimerHandler, int, Handle);
10618 extern (C) void WindowOrWorkerGlobalScope_clearTimeout(Handle, int);
10619 extern (C) void WindowOrWorkerGlobalScope_clearTimeout_0(Handle);
10620 extern (C) int WindowOrWorkerGlobalScope_setInterval(Handle, scope ref TimerHandler, int, Handle);
10621 extern (C) void WindowOrWorkerGlobalScope_clearInterval(Handle, int);
10622 extern (C) void WindowOrWorkerGlobalScope_clearInterval_0(Handle);
10623 extern (C) void WindowOrWorkerGlobalScope_queueMicrotask(Handle, VoidFunction);
10624 extern (C) Handle WindowOrWorkerGlobalScope_createImageBitmap__ImageBitmapSource_Handle(Handle, scope ref ImageBitmapSource, Handle);
10625 extern (C) Handle WindowOrWorkerGlobalScope_createImageBitmap_0_ImageBitmapSource(Handle, scope ref ImageBitmapSource);
10626 extern (C) Handle WindowOrWorkerGlobalScope_createImageBitmap__ImageBitmapSource_int_int_int_int_Handle(Handle, scope ref ImageBitmapSource, int, int, int, int, Handle);
10627 extern (C) Handle WindowOrWorkerGlobalScope_createImageBitmap_0_ImageBitmapSource_int_int_int_int(Handle, scope ref ImageBitmapSource, int, int, int, int);
10628 extern (C) Handle WindowOrWorkerGlobalScope_fetch(Handle, scope ref RequestInfo, Handle);
10629 extern (C) Handle WindowOrWorkerGlobalScope_fetch_0(Handle, scope ref RequestInfo);
10630 extern (C) Handle WindowOrWorkerGlobalScope_indexedDB_Get(Handle);
10631 extern (C) Handle WindowOrWorkerGlobalScope_caches_Get(Handle);
10632 extern (C) void WindowPostMessageOptions_targetOrigin_Set(Handle, string);
10633 extern (C) string WindowPostMessageOptions_targetOrigin_Get(Handle);
10634 extern (C) Handle WindowSessionStorage_sessionStorage_Get(Handle);
10635 extern (C) void Worker_terminate(Handle);
10636 extern (C) void Worker_postMessage__Handle_sequence(Handle, Handle, Handle);
10637 extern (C) void Worker_postMessage__Handle_Handle(Handle, Handle, Handle);
10638 extern (C) void Worker_postMessage_0(Handle, Handle);
10639 extern (C) void Worker_onmessage_Set(Handle, EventHandler);
10640 extern (C) EventHandler Worker_onmessage_Get(Handle);
10641 extern (C) void Worker_onmessageerror_Set(Handle, EventHandler);
10642 extern (C) EventHandler Worker_onmessageerror_Get(Handle);
10643 extern (C) Handle Worker_Blob(Handle, Handle, Handle);
10644 extern (C) Handle Worker_File(Handle, Handle, string, Handle);
10645 extern (C) Handle Worker_FileReader(Handle);
10646 extern (C) Handle Worker_Headers(Handle, scope ref HeadersInit);
10647 extern (C) Handle Worker_Request(Handle, scope ref RequestInfo, Handle);
10648 extern (C) Handle Worker_Response(Handle, bool, scope ref BodyInit, Handle);
10649 extern (C) Handle Worker_Notification(Handle, string, Handle);
10650 extern (C) Handle Worker_AbortController(Handle);
10651 extern (C) Handle Worker_CustomEvent(Handle, string, Handle);
10652 extern (C) Handle Worker_Event(Handle, string, Handle);
10653 extern (C) Handle Worker_EventTarget(Handle);
10654 extern (C) Handle Worker_BroadcastChannel(Handle, string);
10655 extern (C) Handle Worker_CloseEvent(Handle, string, Handle);
10656 extern (C) Handle Worker_ErrorEvent(Handle, string, Handle);
10657 extern (C) Handle Worker_EventSource(Handle, string, Handle);
10658 extern (C) Handle Worker_ImageData__uint_uint(Handle, uint, uint);
10659 extern (C) Handle Worker_ImageData__Handle_uint_uint(Handle, Handle, uint, uint);
10660 extern (C) Handle Worker_MessageChannel(Handle);
10661 extern (C) Handle Worker_MessageEvent(Handle, string, Handle);
10662 extern (C) Handle Worker_OffscreenCanvas(Handle, uint, uint);
10663 extern (C) Handle Worker_Path2D(Handle, scope ref SumType!(Path2D, string));
10664 extern (C) Handle Worker_PromiseRejectionEvent(Handle, string, Handle);
10665 extern (C) Handle Worker_SharedWorker(Handle, string, scope ref SumType!(string, WorkerOptions));
10666 extern (C) Handle Worker_WebSocket(Handle, string, scope ref SumType!(string, Sequence!(string)));
10667 extern (C) Handle Worker_Worker(Handle, string, Handle);
10668 extern (C) Handle Worker_DOMException(Handle, string, string);
10669 extern (C) Handle Worker_URL(Handle, string, string);
10670 extern (C) Handle Worker_URLSearchParams(Handle, scope ref SumType!(Sequence!(Sequence!(string)), Record!(string, string), string));
10671 extern (C) Handle Worker_DOMMatrix(Handle, scope ref SumType!(string, Sequence!(double)));
10672 extern (C) Handle Worker_DOMMatrixReadOnly(Handle, scope ref SumType!(string, Sequence!(double)));
10673 extern (C) Handle Worker_DOMPoint(Handle, double, double, double, double);
10674 extern (C) Handle Worker_DOMPointReadOnly(Handle, double, double, double, double);
10675 extern (C) Handle Worker_DOMQuad(Handle, Handle, Handle, Handle, Handle);
10676 extern (C) Handle Worker_DOMRect(Handle, double, double, double, double);
10677 extern (C) Handle Worker_DOMRectReadOnly(Handle, double, double, double, double);
10678 extern (C) Handle Worker_IDBVersionChangeEvent(Handle, string, Handle);
10679 extern (C) Handle Worker_ByteLengthQueuingStrategy(Handle, Handle);
10680 extern (C) Handle Worker_CountQueuingStrategy(Handle, Handle);
10681 extern (C) Handle Worker_ReadableStream__Handle_Handle(Handle, Handle, Handle);
10682 extern (C) Handle Worker_ReadableStreamBYOBReader(Handle, Handle);
10683 extern (C) Handle Worker_ReadableStreamDefaultReader(Handle, Handle);
10684 extern (C) Handle Worker_TransformStream(Handle, Handle, Handle, Handle);
10685 extern (C) Handle Worker_WritableStream(Handle, Handle, Handle);
10686 extern (C) Handle Worker_WritableStreamDefaultWriter(Handle, Handle);
10687 extern (C) Handle Worker_FormData(Handle, Handle);
10688 extern (C) Handle Worker_TextDecoder(Handle, string, Handle);
10689 extern (C) Handle Worker_TextDecoderStream(Handle, string, Handle);
10690 extern (C) Handle Worker_TextEncoder(Handle);
10691 extern (C) Handle Worker_TextEncoderStream(Handle);
10692 extern (C) Handle WorkerGlobalScope_self_Get(Handle);
10693 extern (C) Handle WorkerGlobalScope_location_Get(Handle);
10694 extern (C) Handle WorkerGlobalScope_navigator_Get(Handle);
10695 extern (C) void WorkerGlobalScope_importScripts(Handle, string);
10696 extern (C) void WorkerGlobalScope_onerror_Set(Handle, bool, OnErrorEventHandlerNonNull);
10697 extern (C) OnErrorEventHandler WorkerGlobalScope_onerror_Get(Handle);
10698 extern (C) void WorkerGlobalScope_onlanguagechange_Set(Handle, EventHandler);
10699 extern (C) EventHandler WorkerGlobalScope_onlanguagechange_Get(Handle);
10700 extern (C) void WorkerGlobalScope_onoffline_Set(Handle, EventHandler);
10701 extern (C) EventHandler WorkerGlobalScope_onoffline_Get(Handle);
10702 extern (C) void WorkerGlobalScope_ononline_Set(Handle, EventHandler);
10703 extern (C) EventHandler WorkerGlobalScope_ononline_Get(Handle);
10704 extern (C) void WorkerGlobalScope_onrejectionhandled_Set(Handle, EventHandler);
10705 extern (C) EventHandler WorkerGlobalScope_onrejectionhandled_Get(Handle);
10706 extern (C) void WorkerGlobalScope_onunhandledrejection_Set(Handle, EventHandler);
10707 extern (C) EventHandler WorkerGlobalScope_onunhandledrejection_Get(Handle);
10708 extern (C) void WorkerLocation_href_Set(Handle, string);
10709 extern (C) string WorkerLocation_href_Get(Handle);
10710 extern (C) string WorkerLocation_origin_Get(Handle);
10711 extern (C) string WorkerLocation_protocol_Get(Handle);
10712 extern (C) string WorkerLocation_host_Get(Handle);
10713 extern (C) string WorkerLocation_hostname_Get(Handle);
10714 extern (C) string WorkerLocation_port_Get(Handle);
10715 extern (C) string WorkerLocation_pathname_Get(Handle);
10716 extern (C) string WorkerLocation_search_Get(Handle);
10717 extern (C) string WorkerLocation_hash_Get(Handle);
10718 extern (C) Handle WorkerNavigator_permissions_Get(Handle);
10719 extern (C) Handle WorkerNavigator_serviceWorker_Get(Handle);
10720 extern (C) void WorkerOptions_type_Set(Handle, WorkerType);
10721 extern (C) WorkerType WorkerOptions_type_Get(Handle);
10722 extern (C) void WorkerOptions_credentials_Set(Handle, RequestCredentials);
10723 extern (C) RequestCredentials WorkerOptions_credentials_Get(Handle);
10724 extern (C) void WorkerOptions_name_Set(Handle, string);
10725 extern (C) string WorkerOptions_name_Get(Handle);