Thursday, September 24, 2015

JsInterop callback function with parameters

Hey:
  
   I'm using JsInterop to map some JS APIs.
What is the best way to map a callback to receive multiple parameters?

For example, a jQuery click handler: function (event, params)

Java could be:
  Function (Event, Object []), but then is complicated to manipulate the "Object []", there is a more direct way?

--
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-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment