1 module libwasm.bindings.HTMLTableRowElement; 2 3 import libwasm.types; 4 5 import memutils.ct: tuple; 6 import libwasm.bindings.HTMLCollection; 7 import libwasm.bindings.HTMLElement; 8 9 @safe: 10 nothrow: 11 12 struct HTMLTableRowElement { 13 nothrow: 14 libwasm.bindings.HTMLElement.HTMLElement _parent; 15 alias _parent this; 16 this(Handle h) { 17 _parent = .HTMLElement(h); 18 } 19 int rowIndex()() { 20 return Object_Getter__int(this._parent, "rowIndex"); 21 } 22 int sectionRowIndex()() { 23 return Object_Getter__int(this._parent, "sectionRowIndex"); 24 } 25 auto cells()() { 26 return HTMLCollection(Object_Getter__Handle(this._parent, "cells")); 27 } 28 auto insertCell()(int index /* = -1 */) { 29 return HTMLElement(Object_Call_int__Handle(this._parent, "insertCell", index)); 30 } 31 auto insertCell()() { 32 return HTMLElement(Object_Getter__Handle(this._parent, "insertCell")); 33 } 34 void deleteCell()(int index) { 35 Object_Call_int__void(this._parent, "deleteCell", index); 36 } 37 void align_()(string align_) { 38 Object_Call_string__void(this._parent, "align", align_); 39 } 40 string align_()() { 41 return Object_Getter__string(this._parent, "align"); 42 } 43 void ch()(string ch) { 44 Object_Call_string__void(this._parent, "ch", ch); 45 } 46 string ch()() { 47 return Object_Getter__string(this._parent, "ch"); 48 } 49 void chOff()(string chOff) { 50 Object_Call_string__void(this._parent, "chOff", chOff); 51 } 52 string chOff()() { 53 return Object_Getter__string(this._parent, "chOff"); 54 } 55 void vAlign()(string vAlign) { 56 Object_Call_string__void(this._parent, "vAlign", vAlign); 57 } 58 string vAlign()() { 59 return Object_Getter__string(this._parent, "vAlign"); 60 } 61 void bgColor()(string bgColor) { 62 Object_Call_string__void(this._parent, "bgColor", bgColor); 63 } 64 string bgColor()() { 65 return Object_Getter__string(this._parent, "bgColor"); 66 } 67 } 68 69