Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue #6 adding params as array. Needs to pass as array while the function must be the first parameter. Usage: ```html <div w-mousetrap="{ a: [someFunc, scopeVariable, 'string variable'] }"> ``` ```javascript $scope.someFunc = function(event, params) { event.preventDefault(); console.log("Super cool", params); }; ```
- Loading branch information