Can't render sidebar in the pad
nupamore opened this issue · comments
Maru commented
The pad can destroy itself, but renderSidebar()
is within main.js
only.
I don't know to solve this problem.
Youngkyun Kim commented
2 options
-
trigger
renderSidebar()
when DOM is loaded and reload if instances are modified by main process -
handle event at renderer process and pass it to
main.js
by calling webcontents.executeJavaScript
http://electron.atom.io/docs/api/web-contents/#contentsexecutejavascriptcode-usergesture-callback
Youngkyun Kim commented
option 2:
I don't know if it works.