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

Function attachTouchEvent

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

Source from the content-addressed store, hash-verified

7191 var source, tracker, timer, drag_mode, scroll_mode, action_mode;
7192 var dblclicktime = 0;
7193 function attachTouchEvent(element, name, callback) {
7194 scheduler2.event(element, name, function(e) {
7195 if (scheduler2._is_lightbox_open()) {
7196 return true;
7197 } else {
7198 if (ignore(e))
7199 return;
7200 return callback(e);
7201 }
7202 }, { passive: false });
7203 }
7204 function check_direction_swipe(s_ev, e_ev, step, max_dy) {
7205 if (!s_ev || !e_ev)
7206 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