Currently if you specify an expression that's not just a reference to a function such as ui-sortable-update=doSomething() you have no way of accessing the event and ui arguments passed to callbacks.
With this PR I've made those two arguments available as $event and $ui parameters in the scope of the expression execution. So now you could do ui-sortable-update=doSomething($event, $ui) or even ui-sortable-update=doSomething($event, $ui.item.sortable).
Currently if you specify an expression that's not just a reference to a function such as
ui-sortable-update=doSomething()
you have no way of accessing theevent
andui
arguments passed to callbacks.With this PR I've made those two arguments available as $event and $ui parameters in the scope of the expression execution. So now you could do
ui-sortable-update=doSomething($event, $ui)
or evenui-sortable-update=doSomething($event, $ui.item.sortable)
.