After creating three custom buttons for the close, maximize, and minimize functions in Electron.js, I encountered an issue. While the close button is functioning properly, I am struggling with implementing the maximize and minimize buttons. In fact, I have decided that the maximize button is not necessary for my project, as my main focus lies on the minimize button.
Despite extensive research on various online resources, I have been unable to resolve the issue with the maximize and minimize buttons. Any assistance or guidance on this matter would be greatly appreciated!
<div class="ctrl-box">
<div class="exit" onclick="window.top.close()">×</div>
<div class="minimize">‒</div>
</div>