angular-hammer icon indicating copy to clipboard operation
angular-hammer copied to clipboard

Passing arguments to function besides event arguments

Open Jones-S opened this issue 10 years ago • 0 comments

Hi there

I want to call a function on a hammer pan and I want to pass a custom value with it.

`

I thought I could use something like this:$scope.startPan = function (event, string) { //... handler }``

But unfortunately this does not work.

Is there a possibility to do something like this?

Any hints appreciated. thanks

Jones-S avatar Oct 14 '15 08:10 Jones-S