1 module libwasm.bindings.HTMLAreaElement;
2 
3 import libwasm.types;
4 
5 import memutils.ct: tuple;
6 import libwasm.bindings.DOMTokenList;
7 import libwasm.bindings.HTMLElement;
8 import libwasm.bindings.HTMLHyperlinkElementUtils;
9 
10 @safe:
11 nothrow:
12 
13 struct HTMLAreaElement {
14   nothrow:
15   libwasm.bindings.HTMLElement.HTMLElement _parent;
16   alias _parent this;
17   this(Handle h) {
18     _parent = .HTMLElement(h);
19   }
20   void alt()(string alt) {
21     Object_Call_string__void(this._parent, "alt", alt);
22   }
23   string alt()() {
24     return Object_Getter__string(this._parent, "alt");
25   }
26   void coords()(string coords) {
27     Object_Call_string__void(this._parent, "coords", coords);
28   }
29   string coords()() {
30     return Object_Getter__string(this._parent, "coords");
31   }
32   void shape()(string shape) {
33     Object_Call_string__void(this._parent, "shape", shape);
34   }
35   string shape()() {
36     return Object_Getter__string(this._parent, "shape");
37   }
38   void target()(string target) {
39     Object_Call_string__void(this._parent, "target", target);
40   }
41   string target()() {
42     return Object_Getter__string(this._parent, "target");
43   }
44   void download()(string download) {
45     Object_Call_string__void(this._parent, "download", download);
46   }
47   string download()() {
48     return Object_Getter__string(this._parent, "download");
49   }
50   void ping()(string ping) {
51     Object_Call_string__void(this._parent, "ping", ping);
52   }
53   string ping()() {
54     return Object_Getter__string(this._parent, "ping");
55   }
56   void rel()(string rel) {
57     Object_Call_string__void(this._parent, "rel", rel);
58   }
59   string rel()() {
60     return Object_Getter__string(this._parent, "rel");
61   }
62   void referrerPolicy()(string referrerPolicy) {
63     Object_Call_string__void(this._parent, "referrerPolicy", referrerPolicy);
64   }
65   string referrerPolicy()() {
66     return Object_Getter__string(this._parent, "referrerPolicy");
67   }
68   auto relList()() {
69     return DOMTokenList(Object_Getter__Handle(this._parent, "relList"));
70   }
71   void noHref()(bool noHref) {
72     Object_Call_bool__void(this._parent, "noHref", noHref);
73   }
74   bool noHref()() {
75     return Object_Getter__bool(this._parent, "noHref");
76   }
77   void href()(string href) {
78     Object_Call_string__void(this._parent, "href", href);
79   }
80   string href()() {
81     return Object_Getter__string(this._parent, "href");
82   }
83   string origin()() {
84     return Object_Getter__string(this._parent, "origin");
85   }
86   void protocol()(string protocol) {
87     Object_Call_string__void(this._parent, "protocol", protocol);
88   }
89   string protocol()() {
90     return Object_Getter__string(this._parent, "protocol");
91   }
92   void username()(string username) {
93     Object_Call_string__void(this._parent, "username", username);
94   }
95   string username()() {
96     return Object_Getter__string(this._parent, "username");
97   }
98   void password()(string password) {
99     Object_Call_string__void(this._parent, "password", password);
100   }
101   string password()() {
102     return Object_Getter__string(this._parent, "password");
103   }
104   void host()(string host) {
105     Object_Call_string__void(this._parent, "host", host);
106   }
107   string host()() {
108     return Object_Getter__string(this._parent, "host");
109   }
110   void hostname()(string hostname) {
111     Object_Call_string__void(this._parent, "hostname", hostname);
112   }
113   string hostname()() {
114     return Object_Getter__string(this._parent, "hostname");
115   }
116   void port()(string port) {
117     Object_Call_string__void(this._parent, "port", port);
118   }
119   string port()() {
120     return Object_Getter__string(this._parent, "port");
121   }
122   void pathname()(string pathname) {
123     Object_Call_string__void(this._parent, "pathname", pathname);
124   }
125   string pathname()() {
126     return Object_Getter__string(this._parent, "pathname");
127   }
128   void search()(string search) {
129     Object_Call_string__void(this._parent, "search", search);
130   }
131   string search()() {
132     return Object_Getter__string(this._parent, "search");
133   }
134   void hash()(string hash) {
135     Object_Call_string__void(this._parent, "hash", hash);
136   }
137   string hash()() {
138     return Object_Getter__string(this._parent, "hash");
139   }
140 }
141 
142