nobleach

Dojo tap.hold gesture not firing

Discussion created by nobleach on Jan 9, 2014
Latest reply on Jan 9, 2014 by nobleach
I am trying to attach a "long press" event (dojox/gesture/tap) to the map object. As far as I can tell, it just flat out won't fire. It does cough up an error if I try to connect the event to a bogus node, so I know it's at least trying to do something.

I'm using the following snippet:

on(map, tap.hold, function(evt) {
            evt.preventDefault();
            alert('tap event');
            console.log(evt);
          });

Outcomes