Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let win = new BrowserWindow({
- width:800,
- height:600,
- title:"hola mundo!",
- maximizable:false,
- center:true,
- show:false
- })
- win.once('ready-to-show',()=>{
- win.show()
- })
- win.on('move',()=>{
- let position = win.getPosition()
- console.log(`la posicion de la ventana es :${position}`)
- })
Add Comment
Please, Sign In to add comment