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)

In Java could be:

Function fn =  new Function() {
    @Override
    public Object call(Event event, Object... params) {
      setVisible(!visible);
      return null;            
}


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 
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/b1118da3-7885-49cd-97f2-ebe0fb2d1555%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to