Interface ITabDetachRequestedArgs<T>

The arguments object for the tabDetachRequested signal.

interface ITabDetachRequestedArgs<T> {
    clientX: number;
    clientY: number;
    index: number;
    offset?: {
        x: number;
        y: number;
    };
    tab: HTMLElement;
    title: Title<T>;
}

Type Parameters

  • T

Properties

clientX: number

The current client X position of the mouse.

clientY: number

The current client Y position of the mouse.

index: number

The index of the tab to detach.

offset?: {
    x: number;
    y: number;
}

The mouse position in the tab coordinate.

Type declaration

  • x: number
  • y: number

The node representing the tab.

title: Title<T>

The title for the tab.