Home
last modified time | relevance | path

Searched refs:resolvedPosition (Results 1 – 3 of 3) sorted by relevance

/expo/packages/expo-image/build/web/
H A Dpositioning.js16 const resolvedPosition = { ...contentPosition };
17 if (!resolvedPosition) {
20 if (resolvedPosition.top == null && resolvedPosition.bottom == null) {
21 resolvedPosition.top = '50%';
23 if (resolvedPosition.left == null && resolvedPosition.right == null) {
24 resolvedPosition.left = '50%';
28 if (key in resolvedPosition) {
29 return `${key} ${ensureValueIsWebUnits(resolvedPosition[key])}`;
H A Dpositioning.js.map1resolvedPosition = { ...contentPosition } as Record<\n KeysOfUnion<ImageContentPositionObject>,…
/expo/packages/expo-image/src/web/
H A Dpositioning.ts24 const resolvedPosition = { ...contentPosition } as Record< constant
28 if (!resolvedPosition) {
31 if (resolvedPosition.top == null && resolvedPosition.bottom == null) {
32 resolvedPosition.top = '50%';
34 if (resolvedPosition.left == null && resolvedPosition.right == null) {
35 resolvedPosition.left = '50%';
41 if (key in resolvedPosition) {
42 return `${key} ${ensureValueIsWebUnits(resolvedPosition[key])}`;