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

Function trailingEdge

src/native-ts/yoga-layout/index.ts:333–344  ·  view source on GitHub ↗
(dir: FlexDirection)

Source from the content-addressed store, hash-verified

331 }
332}
333function trailingEdge(dir: FlexDirection): number {
334 switch (dir) {
335 case FlexDirection.Row:
336 return EDGE_RIGHT
337 case FlexDirection.RowReverse:
338 return EDGE_LEFT
339 case FlexDirection.Column:
340 return EDGE_BOTTOM
341 case FlexDirection.ColumnReverse:
342 return EDGE_TOP
343 }
344}
345
346// --
347// Public types

Callers 2

layoutNodeFunction · 0.85
childMarginForAxisFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected