Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ApplicationShellMouseTracker

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.

Hierarchy

  • ApplicationShellMouseTracker

Implements

Index

Constructors

Properties

applicationShell: ApplicationShell
mousedownEmitter: Emitter<MouseEvent> = ...
mousedownListener: ((e: MouseEvent) => void) = ...

Type declaration

    • (e: MouseEvent): void
    • Parameters

      • e: MouseEvent

      Returns void

mouseupEmitter: Emitter<MouseEvent> = ...
mouseupListener: ((e: MouseEvent) => void) = ...

Type declaration

    • (e: MouseEvent): void
    • Parameters

      • e: MouseEvent

      Returns void

toDispose: DisposableCollection = ...
toDisposeOnActiveChange: DisposableCollection = ...

Accessors

  • get onMousedown(): Event<MouseEvent>
  • get onMouseup(): Event<MouseEvent>

Methods

  • onStart(): void
  • onStop(): void