electron/docs/fiddles/native-ui/dialogs/error-dialog/renderer.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
143 B
JavaScript
Raw Normal View History

2020-08-27 14:31:51 +00:00
const errorBtn = document.getElementById('error-dialog')
errorBtn.addEventListener('click', () => {
window.electronAPI.openErrorDialog()
2020-08-27 14:31:51 +00:00
})