mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
* chore: always lint JS in docs/fiddles Co-authored-by: David Sanders <dsanders11@ucsbalum.com> * chore: update patches --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: David Sanders <dsanders11@ucsbalum.com> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
8 lines
200 B
JavaScript
8 lines
200 B
JavaScript
const { shell } = require('electron')
|
|
|
|
const exLinksBtn = document.getElementById('open-ex-links')
|
|
|
|
exLinksBtn.addEventListener('click', (event) => {
|
|
shell.openExternal('https://electronjs.org')
|
|
})
|