cast Element to Elemental2

2017-10-18 Thread Stefano Pulze
Hi all, Can I cast "old" *com.google.gwt.dom.client.Element* to a new *elemental2.dom.HTMLElement*? Thanks -- 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 google

Element 2 Elament2

2017-10-18 Thread Stefano Pulze
Hi all, Can I cast "old" *com.google.gwt.dom.client.Element* to a new *elemental2.dom.HTMLElement*? Thanks -- 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 google

Elemental 2 inside uiBinder

2016-07-26 Thread Stefano Pulze
Hi all, Can I use elemental 2 inside a uiBinder? Where I can find examples and what is the best way to do that? Thanks -- 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

CssResource in UiBinder

2015-02-27 Thread Stefano Pulze
Hi all, Can anyone explain me how tu use (and reuse) CssResource inside a UiBinder? I don't understand if I have to make a ClientBundle with some CssResources interface and use with the tag inside a UiBinder. Be CssResource ensureInjected() ? Thanks -- You received this message because yo

Re: GWT and Javascript JSNI for Scroll To Top Button

2015-02-04 Thread Stefano Pulze
I think the problem is in "this" keyword. You can try to change your function with a Element param; like this. public static native void fadeInOutAction(Element e) /*- { if ($wnd.$(e).scrollTop() > 100) { ... } else { ... } }-*/ and the call in java code faceInOutAction(myWidget.getElement());