D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
ltfsolutionsco
/
www
/
wp-content
/
plugins
/
ml-slider
/
admin
/
assets
/
tether
/
src
/
js
/
Filename :
shift.js
back
Copy
/* globals TetherBase */ TetherBase.modules.push({ position({top, left}) { if (!this.options.shift) { return; } let shift = this.options.shift; if (typeof this.options.shift === 'function') { shift = this.options.shift.call(this, {top, left}); } let shiftTop, shiftLeft; if (typeof shift === 'string') { shift = shift.split(' '); shift[1] = shift[1] || shift[0]; ([shiftTop, shiftLeft] = shift); shiftTop = parseFloat(shiftTop, 10); shiftLeft = parseFloat(shiftLeft, 10); } else { ([shiftTop, shiftLeft] = [shift.top, shift.left]); } top += shiftTop; left += shiftLeft; return {top, left}; } });
Name
Size
Last Modified
Owner
Permissions
Actions
abutment.js
1.577
KB
February 03 2024 3:18:15
ltfsolutionsco
0644
constraint.js
10.077
KB
February 03 2024 3:18:15
ltfsolutionsco
0644
markAttachment.js
1.047
KB
February 03 2024 3:18:15
ltfsolutionsco
0644
shift.js
0.687
KB
February 03 2024 3:18:15
ltfsolutionsco
0644
tether.js
22.95
KB
February 03 2024 3:18:15
ltfsolutionsco
0644
utils.js
8.737
KB
February 03 2024 3:18:15
ltfsolutionsco
0644
2017 © D7net | D704T team