Lines Matching refs:_this

124         var _this = this;
128 if (_this._trace.length >= traceSteps) {
129 var dots = _this._trace.slice(_this._trace.length - traceSteps);
152 _this._timeline.$task.classList.add("gantt_timeline_move_available");
155 _this._timeline.$task.classList.remove("gantt_timeline_move_available");
164 var vector = _this._calculateDirectionVector();
165 var shiftX = _this._startPoint.x - coords.x;
166 var shiftY = _this._startPoint.y - coords.y;
176 x: _this._scrollState.x + shiftX,
177 y: _this._scrollState.y + shiftY
188 _this._trace = [];
190 if (_this._originalReadonly !== undefined) {
191 gantt.config.readonly = _this._originalReadonly;
193 if (_this._originAutoscroll !== undefined) {
194 gantt.config.autoscroll = _this._originAutoscroll;
202 _this._mouseDown = false;
205 _this._originAutoscroll = gantt.config.autoscroll;
208 _this._originalReadonly = gantt.config.readonly;
210 _this._trace = [];
211 _this._mouseDown = true;
212 var _a = _this._getScrollPosition(_this._timeline), x = _a.x, y = _a.y;
213 _this._scrollState = { x: x, y: y };
214 _this._startPoint = { x: event.clientX, y: event.clientY };
215 _this._trace.push(_this._startPoint);
227 var _this = this;
254 _this._startDrag(event);
262 _this._applyDndReadyStyles();
271 _this._clearDndReadyStyles();
272 _this._stopDrag(event);
276 _this._stopDrag(event);
279 _this._stopDrag(event);
282 _this._stopDrag(event);
285 _this._stopDrag(event);
295 if (_this._mouseDown === true) {
296 _this._trace.push({ x: event.clientX, y: event.clientY });
297 … var scrollPosition = _this._countNewScrollPosition({ x: event.clientX, y: event.clientY });
298 _this._setScrollPosition(timeline, scrollPosition);
299 _this._scrollState = scrollPosition;
300 _this._startPoint = { x: event.clientX, y: event.clientY };