MCPcopy Create free account
hub / github.com/DHTMLX/scheduler / attachTouchEvent

Function attachTouchEvent

codebase/sources/dhtmlxscheduler.es.js:7189–7199  ·  view source on GitHub ↗
(element, name, callback)

Source from the content-addressed store, hash-verified

7187 var source, tracker, timer, drag_mode, scroll_mode, action_mode;
7188 var dblclicktime = 0;
7189 function attachTouchEvent(element, name, callback) {
7190 scheduler2.event(element, name, function(e) {
7191 if (scheduler2._is_lightbox_open()) {
7192 return true;
7193 } else {
7194 if (ignore(e))
7195 return;
7196 return callback(e);
7197 }
7198 }, { passive: false });
7199 }
7200 function check_direction_swipe(s_ev, e_ev, step, max_dy) {
7201 if (!s_ev || !e_ev)
7202 return false;

Callers 1

extend$5Function · 0.70

Calls 3

ignoreFunction · 0.70
callbackFunction · 0.70
eventMethod · 0.65

Tested by

no test coverage detected