Variable getScrollToConst
getScrollTo: (
currentLocation: number,
boundary: number,
children: any,
isLeft: boolean,
defaultValue?: number,
) => number
Type declaration
- (
currentLocation: number,
boundary: number,
children: any,
isLeft: boolean,
defaultValue?: number,
): number Parameters
- currentLocation: number
- boundary: number
- children: any
- isLeft: boolean
Optional
defaultValue: number
Returns number
scan all elements until we find one in the given direction Note - only horizontal at the moment