mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: David Sanders <dsanders11@ucsbalum.com>
9 lines
326 B
JavaScript
9 lines
326 B
JavaScript
// This file is required by the index.html file and will
|
|
// be executed in the renderer process for that window.
|
|
// All APIs exposed by the context bridge are available here.
|
|
|
|
// Binds the buttons to the context bridge API.
|
|
document.getElementById('open-in-browser').addEventListener('click', () => {
|
|
window.shell.open()
|
|
})
|