mgonto / mgo-mousetrap

Handling keyboard interaction on an Angular app: An Angular Mousetrap wrapper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.