You can use jsinterop-base library. It has a method 'Js.asConstructorFn(Class)'
-- J. [email protected] schrieb am Dienstag, 2. November 2021 um 09:49:41 UTC+1: > Hi all, > > I have noticed that the next code returns the undefined value in gwt 2.9.0 > > public static native <T> Object getCtorFn(Class<T> cls) /*-{ > $wnd.console.log(cls) > $wnd.console.log([email protected]::jsConstructor) > > return [email protected]::jsConstructor; > }-*/; > > Does someone know is jsConstroctor still supported? > Or could be there is another way to achieve the same > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/3d3174c4-9fa8-4cc2-8208-28779434326bn%40googlegroups.com.
