Theia API Documentation v1.65.0
    Preparing search index...

    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
    Index

    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.

    tab: HTMLElement

    The node representing the tab.

    title: Title<T>

    The title for the tab.