Getting Started w/ Electron #2 - BrowserWindow Class

Опубликовано: 18 Март 2026
на канале: tylerlaceby
4,675
119

Today I will cover some functions, methods and properties that are included with the electron Browser Window class. These can be useful for certain types of applications and I'm sure you will find use out of at least a few of these.


🔔 JOIN THE COMMUNITY 🔔
https://www.youtube.com/c/JSimplified... -- Subscribe xD

-------------------------------------------------------------------------------------------------------

-- Social Links --
Discord -   / discord  
GitHub - https://github.com/tylerbadger23/

-------------------------------------------------------------------------------------------------------


Chapters:
00:00 Remove Jittery Startup
01:20 ReadyToShow Event
02:07 Remove TitleBar
02:38 Removing the TitleBar
02:57 Resize Events
03:44 Constant Sized Window
03:55 Incorrect Way to Disable User Resize
04:40 Correct Way to Disable Resize
05:09 Counting Event Listener Counts
05:50 window.listeners("resized")
07:04 Calling function.call()
08:02 window.removeAllListeners("resized")
08:40 window.listenerCount("resized")
09:15 window.getSize() Getting the window size
10:05 window.getPosition() Getting the window position
10:25 getPosition() Users with multiple displays
11:14 Like & Subscribe xD