I have a widget created using jquery ui widget factory. I'm trying to pass some data to my custom event like this
this._trigger('myCustomEvent', ['Test', 'Test2']);
but on my handler I'm not sure how to access custom parameters
onMyCustomEvent: function(event, ui) {
...
}
I've tried adding parameter to my handler
onMyCustomEvent': function(event, ui, param1, param2) {...}
but that didn't work: param1 and param2 are undefined