Attach a window listener to the lifecycle of the current Context. The event listener will be removed when the context is destroyed.
Optional
Whether to use event capturing.
Event name.
Additional event listener options.
Event handler.
<WindowListener on='resize' then={e => handleWindowResizeEvent(e)}/> Copy
<WindowListener on='resize' then={e => handleWindowResizeEvent(e)}/>
Attach a window listener to the lifecycle of the current Context. The event listener will be removed when the context is destroyed.