1 module libwasm.bindings.AppNotificationServiceOptions; 2 3 import libwasm.types; 4 5 import memutils.ct: tuple; 6 import libwasm.bindings.Notification; 7 8 @safe: 9 nothrow: 10 11 struct AppNotificationServiceOptions { 12 nothrow: 13 JsHandle handle; 14 alias handle this; 15 this(Handle h) { 16 this.handle = JsHandle(h); 17 } 18 static auto create() { 19 return AppNotificationServiceOptions(libwasm_add__object()); 20 } 21 void textClickable()(bool textClickable) { 22 Object_Call_bool__void(this.handle, "textClickable", textClickable); 23 } 24 bool textClickable()() { 25 return Object_Getter__bool(this.handle, "textClickable"); 26 } 27 void manifestURL()(string manifestURL) { 28 Object_Call_string__void(this.handle, "manifestURL", manifestURL); 29 } 30 string manifestURL()() { 31 return Object_Getter__string(this.handle, "manifestURL"); 32 } 33 void id()(string id) { 34 Object_Call_string__void(this.handle, "id", id); 35 } 36 string id()() { 37 return Object_Getter__string(this.handle, "id"); 38 } 39 void dbId()(string dbId) { 40 Object_Call_string__void(this.handle, "dbId", dbId); 41 } 42 string dbId()() { 43 return Object_Getter__string(this.handle, "dbId"); 44 } 45 void dir()(string dir) { 46 Object_Call_string__void(this.handle, "dir", dir); 47 } 48 string dir()() { 49 return Object_Getter__string(this.handle, "dir"); 50 } 51 void lang()(string lang) { 52 Object_Call_string__void(this.handle, "lang", lang); 53 } 54 string lang()() { 55 return Object_Getter__string(this.handle, "lang"); 56 } 57 void tag()(string tag) { 58 Object_Call_string__void(this.handle, "tag", tag); 59 } 60 string tag()() { 61 return Object_Getter__string(this.handle, "tag"); 62 } 63 void data()(string data) { 64 Object_Call_string__void(this.handle, "data", data); 65 } 66 string data()() { 67 return Object_Getter__string(this.handle, "data"); 68 } 69 void mozbehavior()(scope ref NotificationBehavior mozbehavior) { 70 Object_Call_Handle__void(this.handle, "mozbehavior", mozbehavior.handle); 71 } 72 auto mozbehavior()() { 73 return NotificationBehavior(Object_Getter__Handle(this.handle, "mozbehavior")); 74 } 75 } 76 77