2022-02-09 16:00:05 +00:00
|
|
|
const setButton = document.getElementById('btn')
|
|
|
|
const titleInput = document.getElementById('title')
|
|
|
|
setButton.addEventListener('click', () => {
|
2023-04-05 13:42:20 +00:00
|
|
|
const title = titleInput.value
|
|
|
|
window.electronAPI.setTitle(title)
|
|
|
|
})
|