1 module libwasm.bindings.HTMLMeterElement; 2 3 import libwasm.types; 4 5 import memutils.ct: tuple; 6 import libwasm.bindings.HTMLElement; 7 import libwasm.bindings.NodeList; 8 9 @safe: 10 nothrow: 11 12 struct HTMLMeterElement { 13 nothrow: 14 libwasm.bindings.HTMLElement.HTMLElement _parent; 15 alias _parent this; 16 this(Handle h) { 17 _parent = .HTMLElement(h); 18 } 19 void value()(double value) { 20 Object_Call_double__void(this._parent, "value", value); 21 } 22 double value()() { 23 return Object_Getter__double(this._parent, "value"); 24 } 25 void min()(double min) { 26 Object_Call_double__void(this._parent, "min", min); 27 } 28 double min()() { 29 return Object_Getter__double(this._parent, "min"); 30 } 31 void max()(double max) { 32 Object_Call_double__void(this._parent, "max", max); 33 } 34 double max()() { 35 return Object_Getter__double(this._parent, "max"); 36 } 37 void low()(double low) { 38 Object_Call_double__void(this._parent, "low", low); 39 } 40 double low()() { 41 return Object_Getter__double(this._parent, "low"); 42 } 43 void high()(double high) { 44 Object_Call_double__void(this._parent, "high", high); 45 } 46 double high()() { 47 return Object_Getter__double(this._parent, "high"); 48 } 49 void optimum()(double optimum) { 50 Object_Call_double__void(this._parent, "optimum", optimum); 51 } 52 double optimum()() { 53 return Object_Getter__double(this._parent, "optimum"); 54 } 55 auto labels()() { 56 return NodeList(Object_Getter__Handle(this._parent, "labels")); 57 } 58 } 59 60