Это ошибка, которую я получаю
Uncaught ReferenceError: fullscreenScreenshot is not defined at HTMLInputElement
код, вызывающий это в теге сценария index.html.Вот код Render.js https://pastebin.com/cEp1rJsT HTML-код индекса https://pastebin.com/WVWG69RH Где я строю это, откуда исходит ошибка https://ourcodeworld.com/articles/read/280/creating-screenshots-of-your-app-or-the-screen-in-electron-framework
document.getElementById("trigger").addEventListener("click", function(){ fullscreenScreenshot(function(base64data){ // Draw image in the img tag document.getElementById("my-preview").setAttribute("src", base64data); },'image/png'); },false);