function arguments
benmathes opened this issue · comments
<div w-mousetrap="{ a: someFunc(scopeVariable) }">
expected result on pressing a
is to call $scope.someFunc
with $scope.ScopeVariable
, but undefined is not a function
is the result.
Handling keyboard interaction on an Angular app: An Angular Mousetrap wrapper
benmathes opened this issue · comments
<div w-mousetrap="{ a: someFunc(scopeVariable) }">
expected result on pressing a
is to call $scope.someFunc
with $scope.ScopeVariable
, but undefined is not a function
is the result.