<div dir="ltr">Hello<br><br>I try to create greeter in JS and it complain that the constructor of LightDM.Greeter need args while in the documentation is not.<br><br>let greeter = new LightDM.Greeter();<br><br> JS ERROR: !!! Exception was: Error: Unable to construct boxed type Greeter since it has no zero-args <constructor>, can only wrap an existing one<br>
JS ERROR: !!! lineNumber = '0'<br> JS ERROR: !!! fileName = '"gjs_throw"'<br> JS ERROR: !!! stack = '"("Unable to construct boxed type Greeter since it has no zero-args <constructor>, can only wrap an existing one")@gjs_throw:0<br>
@./main.js:7<br>"'<br> JS ERROR: !!! message = '"Unable to construct boxed type Greeter since it has no zero-args <constructor>, can only wrap an existing one"'<br>Error: Unable to construct boxed type Greeter since it has no zero-args <constructor>, can only wrap an existing one<br>
<br><br>Documentation:<br><a href="http://people.ubuntu.com/~robert-ancell/lightdm/reference/lightdm-gobject-1-Greeter-Interface.html">http://people.ubuntu.com/~robert-ancell/lightdm/reference/lightdm-gobject-1-Greeter-Interface.html</a><br>
<br clear="all">Thanks<br>Nadav<br><br>
</div>