Thanks for the hint! I'm using vaadin elements that expose then as interfaces.
Em segunda-feira, 28 de novembro de 2016 14:45:11 UTC-2, Goktug Gokdogan escreveu: > > I'm assuming you are trying define a custom element. > I don't believe such elements are constructable by 'new' operator in many > browsers (yet). > > On Fri, Nov 25, 2016 at 6:08 PM, Marcio Alves <[email protected] > <javascript:>> wrote: > >> Hi, >> >> It looks like there are some classes from elemental2 that can't be >> extended. For instance HTMLElement. >> >> When I try to extend the class and create the new class the navigator >> throw an error: >> >> " Failed to construct 'HTMLElement': Please use the 'new' operator, >> this DOM object constructor cannot be called as a function " >> >> Any ideas on how to solve this error? >> >> Thanks! >> >> Em quarta-feira, 29 de junho de 2016 21:23:51 UTC-3, Julien Dramaix >> escreveu: >>> >>> A new experimental version of Elemental2 using the new JsInterop >>> specification has been pushed on Sonatype today. >>> >>> You can try it by downloading the jar file >>> <https://oss.sonatype.org/service/local/repositories/google-releases/content/com/google/gwt/elemental2-experimental/16-06-30/elemental2-experimental-16-06-30.jar> >>> >>> or adding this following maven dependency: >>> >>> <dependency> >>> >>> <groupId>com.google.gwt</groupId> >>> >>> <artifactId>elemental2-experimental</artifactId> >>> >>> <version>16-06-30</version> >>> >>> </dependency> >>> >>> Then, inherits the elemental2 module: >>> >>> <inherits name="elemental2" /> >>> >>> This experimental version works only with the last 2.8-snapshot release >>> of GWT. >>> >>> The goal of this release is to get feedback so don’t hesitate to report >>> any bugs, issues, concerns you have on this mailing list. >>> >>> >>> Important note: This is an experimental release and without doubt the >>> future updates until the final release are going to break code! >>> >>> - Julien >>> >>> -- >> 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 [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/google-web-toolkit-contributors/7100c19d-2372-4461-8efc-3ccf2c513116%40googlegroups.com >> >> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/7100c19d-2372-4461-8efc-3ccf2c513116%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/f7e219f0-981d-49dc-8e4e-dac109506bb6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
