MCPcopy
hub / github.com/mathuo/dockview / orthogonal

Function orthogonal

packages/dockview-core/src/gridview/gridview.ts:217–220  ·  view source on GitHub ↗
(orientation: Orientation)

Source from the content-addressed store, hash-verified

215}
216
217export const orthogonal = (orientation: Orientation) =>
218 orientation === Orientation.HORIZONTAL
219 ? Orientation.VERTICAL
220 : Orientation.HORIZONTAL;
221
222export interface GridLeafNode<T extends IGridView> {
223 readonly view: T;

Callers 10

orientationAtLocationMethod · 0.90
flipNodeFunction · 0.85
getLocationOrientationFunction · 0.85
serializeBranchNodeFunction · 0.85
_deserializeNodeMethod · 0.85
_getViewsMethod · 0.85
addViewMethod · 0.85
removeViewMethod · 0.85

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…