We still use the GWT event bus for custom / application scoped events. To listen to DOM event we use what's provided by Elemental2.
We use a simple interface [1] which is part or Elemento [2] to create custom elements. [1] https://github.com/hal/elemento/blob/develop/core/src/main/java/org/jboss/gwt/elemento/core/IsElement.java [2] https://github.com/hal/elemento/#custom-elements HTH Harald Am Mittwoch, 11. Oktober 2017 12:22:40 UTC+2 schrieb nikola: > > *custom events:* > > Do we still need EventBus or what was HandlerManager for widgets to fire > and create custom events or we should use element's *addEventListener *and > native custom events? > > *custom element:* > > I'm missing Composite from GWT Widgets and its *initWidget() *method. Any > idea how we could implement the same behavior with elemental? Elemental's > *Element* is not interface but class so we can't delegate inner element > or something... > > Thanks, > Nikola > > > -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
