-
-
Notifications
You must be signed in to change notification settings - Fork 210
Open
Description
Hi,
this code returns for left and top always 0, tryed in Safari, Chrome and firefox on Linux and Macos.
Width, height, x and y are correct values.
var winbox = new WinBox();
winbox.top = 50;
winbox.right = 50;
winbox.bottom = 50;
winbox.left = 50;
// update window if needed:
winbox.resize().move();
console.log("Current Viewport Top:", winbox.top);
console.log("Current Viewport Right:", winbox.right);
console.log("Current Viewport Bottom:", winbox.bottom);
console.log("Current Viewport Left:", winbox.left);
Metadata
Metadata
Assignees
Labels
No labels