WorkspaceTabs.getTabInsertLocation method
WorkspaceTabs › getTabInsertLocation
Unofficial
Computes where a dragged tab would be inserted for a given horizontal position.Signature:
getTabInsertLocation(x: number): TabInsertLocationParameters:
| Parameter | Type | Description |
|---|---|---|
| x | number | The horizontal position, in pixels. |
Returns: TabInsertLocation — The insertion location.