MCPcopy
hub / github.com/Flipboard/react-canvas / getPositionType

Function getPositionType

lib/Layout.js:98–103  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

96 }
97
98 function getPositionType(node) {
99 if ('position' in node.style) {
100 return node.style.position;
101 }
102 return 'relative';
103 }
104
105 function getFlex(node) {
106 return node.style.flex;

Callers 2

isFlexFunction · 0.85
Layout.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…