isNative means there has to be some existing javascript class the java type is wrapping. Is there a javascript class?
On Monday, March 14, 2016 at 1:37:21 PM UTC-7, Paul Stockley wrote: > > Is it legal to call new on a class marked as JsType(isNative=true)? When I > try it, I get a runtime error. > > > @JsType(isNative=true, name="HTMLProps", namespace=JsPackage.GLOBAL) > public class HTMLProps { > ... > } > > new HTMLProps() results in the following code > > new $wnd.HTMLProps which is undefined. This is using superdev mode. > > -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/14ffd048-db87-45af-ac7c-9bc47d35a0e8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.