diff --git a/react-sortable-mixin.js b/react-sortable-mixin.js index 70ca0d0..165c269 100644 --- a/react-sortable-mixin.js +++ b/react-sortable-mixin.js @@ -87,6 +87,9 @@ emitEvent = function (/** string */type, /** Event */evt) { var method = options[type]; + if (method && typeof method === "string") { + method = this[method]; + } method && typeof method === "function" && method.call(this, evt, this._sortableInstance); }.bind(this);