ViewData: { isIntersecting: boolean; relative: { bottom: number; height: number; hMiddle: number; left: number; right: number; top: number; vMiddle: number; width: number; x: number; y: number; }; rootBounds: BoundingRect; targetBounds: BoundingRect; views: [View, View?];} Type declaration
isIntersecting: boolean
relative: {
bottom: number;
height: number;
hMiddle: number;
left: number;
right: number;
top: number;
vMiddle: number;
width: number;
x: number;
y: number;
}
bottom: number
height: number
hMiddle: number
left: number
right: number
top: number
vMiddle: number
width: number
x: number
y: number
This is the target's position relative to the root with values relative to the root size.
It is like the targetBounds except that each quantity is scaled by the root's width or height, and having two additional computed values.