(node, child)
| 79 | } |
| 80 | |
| 81 | function getAlignItem(node, child) { |
| 82 | if ('alignSelf' in child.style) { |
| 83 | return child.style.alignSelf; |
| 84 | } |
| 85 | if ('alignItems' in node.style) { |
| 86 | return node.style.alignItems; |
| 87 | } |
| 88 | return 'stretch'; |
| 89 | } |
| 90 | |
| 91 | function getFlexDirection(node) { |
| 92 | if ('flexDirection' in node.style) { |
no outgoing calls
no test coverage detected
searching dependent graphs…