1 module libwasm.bindings.SVGAElement; 2 3 import libwasm.types; 4 5 import memutils.ct: tuple; 6 import libwasm.bindings.DOMTokenList; 7 import libwasm.bindings.SVGAnimatedString; 8 import libwasm.bindings.SVGGraphicsElement; 9 import libwasm.bindings.SVGURIReference; 10 11 @safe: 12 nothrow: 13 14 struct SVGAElement { 15 nothrow: 16 libwasm.bindings.SVGGraphicsElement.SVGGraphicsElement _parent; 17 alias _parent this; 18 this(Handle h) { 19 _parent = .SVGGraphicsElement(h); 20 } 21 auto target()() { 22 return SVGAnimatedString(Object_Getter__Handle(this._parent, "target")); 23 } 24 void download()(string download) { 25 Object_Call_string__void(this._parent, "download", download); 26 } 27 string download()() { 28 return Object_Getter__string(this._parent, "download"); 29 } 30 void ping()(string ping) { 31 Object_Call_string__void(this._parent, "ping", ping); 32 } 33 string ping()() { 34 return Object_Getter__string(this._parent, "ping"); 35 } 36 void rel()(string rel) { 37 Object_Call_string__void(this._parent, "rel", rel); 38 } 39 string rel()() { 40 return Object_Getter__string(this._parent, "rel"); 41 } 42 void referrerPolicy()(string referrerPolicy) { 43 Object_Call_string__void(this._parent, "referrerPolicy", referrerPolicy); 44 } 45 string referrerPolicy()() { 46 return Object_Getter__string(this._parent, "referrerPolicy"); 47 } 48 auto relList()() { 49 return DOMTokenList(Object_Getter__Handle(this._parent, "relList")); 50 } 51 void hreflang()(string hreflang) { 52 Object_Call_string__void(this._parent, "hreflang", hreflang); 53 } 54 string hreflang()() { 55 return Object_Getter__string(this._parent, "hreflang"); 56 } 57 void type()(string type) { 58 Object_Call_string__void(this._parent, "type", type); 59 } 60 string type()() { 61 return Object_Getter__string(this._parent, "type"); 62 } 63 void text()(string text) { 64 Object_Call_string__void(this._parent, "text", text); 65 } 66 string text()() { 67 return Object_Getter__string(this._parent, "text"); 68 } 69 auto href()() { 70 return SVGAnimatedString(Object_Getter__Handle(this._parent, "href")); 71 } 72 } 73 74