MCPcopy Create free account
hub / github.com/codeaashu/claude-code / physicalEdge

Function physicalEdge

src/native-ts/yoga-layout/index.ts:2528–2543  ·  view source on GitHub ↗
(edge: Edge)

Source from the content-addressed store, hash-verified

2526}
2527
2528function physicalEdge(edge: Edge): number {
2529 switch (edge) {
2530 case Edge.Left:
2531 case Edge.Start:
2532 return EDGE_LEFT
2533 case Edge.Top:
2534 return EDGE_TOP
2535 case Edge.Right:
2536 case Edge.End:
2537 return EDGE_RIGHT
2538 case Edge.Bottom:
2539 return EDGE_BOTTOM
2540 default:
2541 return EDGE_LEFT
2542 }
2543}
2544
2545// --
2546// Module API matching yoga-layout/load

Callers 3

getComputedBorderMethod · 0.85
getComputedPaddingMethod · 0.85
getComputedMarginMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected