Configuración completa para EasyPanel - variables de entorno

This commit is contained in:
Panchito
2026-07-21 14:13:16 -05:00
parent a731779958
commit 155130cb5b
5073 changed files with 701542 additions and 286 deletions

View File

@@ -0,0 +1,20 @@
import isWindow from './isWindow';
export default function getscrollAccessor(offset) {
var prop = offset === 'pageXOffset' ? 'scrollLeft' : 'scrollTop';
function scrollAccessor(node, val) {
var win = isWindow(node);
if (val === undefined) {
return win ? win[offset] : node[prop];
}
if (win) {
win.scrollTo(win[offset], val);
} else {
node[prop] = val;
}
}
return scrollAccessor;
}