Hi,
I'm creating a GWT wrapper round a JavaScript library. One of the JavaScript functions takes an anonymous object as its argument e.g.:
obj.buildTabs({ hide: true, placeholder: 'placeholder' });
On the Java side how do I create this type of JavaScript object and pass it to my native implementation?
At the moment, on the Java side I have:
public void buildTabs(TabConfiguration config) {
// ?
}
private native void buildTabs(?) /*-{
$wnd.NAMESPACE.lib.buildTabs(?);
}-*/;
Any pointers appreciated, thanks.