1 module libwasm.bindings.HTMLMenuItemElement; 2 3 import libwasm.types; 4 5 import memutils.ct: tuple; 6 import libwasm.bindings.HTMLElement; 7 8 @safe: 9 nothrow: 10 11 struct HTMLMenuItemElement { 12 nothrow: 13 libwasm.bindings.HTMLElement.HTMLElement _parent; 14 alias _parent this; 15 this(Handle h) { 16 _parent = .HTMLElement(h); 17 } 18 void type()(string type) { 19 Object_Call_string__void(this._parent, "type", type); 20 } 21 string type()() { 22 return Object_Getter__string(this._parent, "type"); 23 } 24 void label()(string label) { 25 Object_Call_string__void(this._parent, "label", label); 26 } 27 string label()() { 28 return Object_Getter__string(this._parent, "label"); 29 } 30 void icon()(string icon) { 31 Object_Call_string__void(this._parent, "icon", icon); 32 } 33 string icon()() { 34 return Object_Getter__string(this._parent, "icon"); 35 } 36 void disabled()(bool disabled) { 37 Object_Call_bool__void(this._parent, "disabled", disabled); 38 } 39 bool disabled()() { 40 return Object_Getter__bool(this._parent, "disabled"); 41 } 42 void checked()(bool checked) { 43 Object_Call_bool__void(this._parent, "checked", checked); 44 } 45 bool checked()() { 46 return Object_Getter__bool(this._parent, "checked"); 47 } 48 void radiogroup()(string radiogroup) { 49 Object_Call_string__void(this._parent, "radiogroup", radiogroup); 50 } 51 string radiogroup()() { 52 return Object_Getter__string(this._parent, "radiogroup"); 53 } 54 void defaultChecked()(bool defaultChecked) { 55 Object_Call_bool__void(this._parent, "defaultChecked", defaultChecked); 56 } 57 bool defaultChecked()() { 58 return Object_Getter__bool(this._parent, "defaultChecked"); 59 } 60 } 61 62