Created
July 5, 2017 01:28
-
-
Save junwatu/6e5eb2457558f387d665770c6b2ea823 to your computer and use it in GitHub Desktop.
Akses DOM di Browser Window - main.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let data = "Awesome!"; | |
browserWindow.webContents.executeJavaScript(`document.getElementById("deskripsi").innerHTML="${data}"`); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment