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

Function D

codebase/dhtmlxscheduler.es.js:3205–3208  ·  view source on GitHub ↗
(k)

Source from the content-addressed store, hash-verified

3203 this.set_xy(y, this._data_width, this.xy.scale_height), y.style.left = "", y.style.right = "", this._table_view ? this.config.rtl ? y.style.right = "-1px" : y.style.left = "-1px" : this.config.rtl ? y.style.right = `${this.xy.scale_width}px` : y.style.left = `${this.xy.scale_width}px`;
3204 }, r.set_xy = function(c, u, f, y, w) {
3205 function D(k) {
3206 let N = k;
3207 return isNaN(Number(N)) || (N = Math.max(0, N) + "px"), N;
3208 }
3209 var M = "left";
3210 u !== void 0 && (c.style.width = D(u)), f !== void 0 && (c.style.height = D(f)), arguments.length > 3 && (y !== void 0 && (this.config.rtl && (M = "right"), c.style[M] = y + "px"), w !== void 0 && (c.style.top = w + "px"));
3211 }, r.get_elements = function() {

Callers 4

nFunction · 0.70
eaFunction · 0.70
vFunction · 0.70

Calls 8

cFunction · 0.70
mFunction · 0.70
uFunction · 0.70
wFunction · 0.70
gFunction · 0.70
addMethod · 0.65
updateCalendarMethod · 0.65
setCurrentViewMethod · 0.65

Tested by

no test coverage detected