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

constructor

Properties

Protected Readonly applicationShell

applicationShell: ApplicationShell

Protected Readonly mousedownEmitter

mousedownEmitter: Emitter<MouseEvent> = ...

Protected Readonly mousedownListener

mousedownListener: (e: MouseEvent) => void = ...

Type declaration

    • (e: MouseEvent): void
    • Parameters

      • e: MouseEvent

      Returns void

Protected Readonly mouseupEmitter

mouseupEmitter: Emitter<MouseEvent> = ...

Protected Readonly mouseupListener

mouseupListener: (e: MouseEvent) => void = ...

Type declaration

    • (e: MouseEvent): void
    • Parameters

      • e: MouseEvent

      Returns void

Protected Readonly toDispose

toDispose: DisposableCollection = ...

Protected Readonly toDisposeOnActiveChange

toDisposeOnActiveChange: DisposableCollection = ...

Accessors

onMousedown

  • get onMousedown(): Event<MouseEvent>

onMouseup

  • get onMouseup(): Event<MouseEvent>

Methods

onStart

  • onStart(): void

onStop

  • onStop(): void