Electron has no win.moveTo()


#1

Hi folks,

Is it true that Electron (latest version) does not have win.moveTo(0,0)? Is there a way to move the window from code?
I’d like to create a window that moves to position (0,0) of the screen. All my windows open in the center of the screen.

Johnf


#2

Found my own answer:
win.setPosition(x, y[, animate]) works and does replace moveTo()