(edge: Edge)
| 2526 | } |
| 2527 | |
| 2528 | function 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 |
no outgoing calls
no test coverage detected