2020-08-27 08:31:51 -06:00
|
|
|
const manageWindowBtn = document.getElementById('manage-window')
|
|
|
|
|
2023-08-29 13:52:16 -06:00
|
|
|
window.electronAPI.onBoundsChanged((event, bounds) => {
|
2020-09-14 11:36:54 -06:00
|
|
|
const manageWindowReply = document.getElementById('manage-window-reply')
|
|
|
|
const message = `Size: ${bounds.size} Position: ${bounds.position}`
|
|
|
|
manageWindowReply.textContent = message
|
|
|
|
})
|
2020-08-27 08:31:51 -06:00
|
|
|
|
|
|
|
manageWindowBtn.addEventListener('click', (event) => {
|
2023-08-29 13:52:16 -06:00
|
|
|
window.electronAPI.createDemoWindow()
|
2020-08-27 08:31:51 -06:00
|
|
|
})
|