WorkspaceSplit.resizeItemsByDiff method
WorkspaceSplit › resizeItemsByDiff
Unofficial
Resizes the given items by a pixel difference.Signature:
resizeItemsByDiff(items: WorkspaceItem[], diff: number, sign: number): numberParameters:
| Parameter | Type | Description |
|---|---|---|
| items | WorkspaceItem[] | The items to resize. |
| diff | number | The pixel delta to apply. |
| sign | number | The direction multiplier (+1 or -1). |
Returns: number — The total absolute number of pixels moved.