Contribution that tracks mouseup and mousedown events.
This is required to be able to track the TabBar, DockPanel, and SidePanel resizing and drag and drop events correctly
all over the application. By default, when the mouse is over an iframe we lose the mouse tracking ability, so whenever
we click (mousedown), we overlay a transparent div over the iframe in the Mini Browser, then we set the display of
the transparent div to none on mouseup events.
Called when the application is started. The application shell is not attached yet when this method runs.
Should return a promise if it runs asynchronously.
Returns void
onStop
onStop(): void
Called when an application is stopped or unloaded.
Note that this is implemented using window.beforeunload which doesn't allow any asynchronous code anymore.
I.e. this is the last tick.
Contribution that tracks
mouseup
andmousedown
events.This is required to be able to track the
TabBar
,DockPanel
, andSidePanel
resizing and drag and drop events correctly all over the application. By default, when the mouse is over aniframe
we lose the mouse tracking ability, so whenever we click (mousedown
), we overlay a transparentdiv
over theiframe
in the Mini Browser, then we set thedisplay
of the transparentdiv
tonone
onmouseup
events.