BLUE
PHP 7.4.33
Path:
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/react-native/Libraries/Components/ScrollView
Run
Logout
Edit File
Size: 5.90 KB
Close
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/react-native/Libraries/Components/ScrollView/ScrollViewNativeComponent.js
Text
Base64
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow strict-local * @format */ import type { HostComponent, PartialViewConfig, } from '../../Renderer/shims/ReactNativeTypes'; import type {ScrollViewNativeProps as Props} from './ScrollViewNativeComponentType'; import * as NativeComponentRegistry from '../../NativeComponent/NativeComponentRegistry'; import {ConditionallyIgnoredEventHandlers} from '../../NativeComponent/ViewConfigIgnore'; import Platform from '../../Utilities/Platform'; export const __INTERNAL_VIEW_CONFIG: PartialViewConfig = Platform.OS === 'android' ? { uiViewClassName: 'RCTScrollView', bubblingEventTypes: {}, directEventTypes: { topMomentumScrollBegin: { registrationName: 'onMomentumScrollBegin', }, topMomentumScrollEnd: { registrationName: 'onMomentumScrollEnd', }, topScroll: { registrationName: 'onScroll', }, topScrollBeginDrag: { registrationName: 'onScrollBeginDrag', }, topScrollEndDrag: { registrationName: 'onScrollEndDrag', }, }, validAttributes: { contentOffset: { diff: require('../../Utilities/differ/pointsDiffer'), }, decelerationRate: true, disableIntervalMomentum: true, maintainVisibleContentPosition: true, pagingEnabled: true, scrollEnabled: true, showsVerticalScrollIndicator: true, snapToAlignment: true, snapToEnd: true, snapToInterval: true, snapToOffsets: true, snapToStart: true, borderBottomLeftRadius: true, borderBottomRightRadius: true, sendMomentumEvents: true, borderRadius: true, nestedScrollEnabled: true, scrollEventThrottle: true, borderStyle: true, borderRightColor: { process: require('../../StyleSheet/processColor').default, }, borderColor: { process: require('../../StyleSheet/processColor').default, }, borderBottomColor: { process: require('../../StyleSheet/processColor').default, }, persistentScrollbar: true, horizontal: true, endFillColor: { process: require('../../StyleSheet/processColor').default, }, fadingEdgeLength: true, overScrollMode: true, borderTopLeftRadius: true, scrollPerfTag: true, borderTopColor: { process: require('../../StyleSheet/processColor').default, }, removeClippedSubviews: true, borderTopRightRadius: true, borderLeftColor: { process: require('../../StyleSheet/processColor').default, }, pointerEvents: true, isInvertedVirtualizedList: true, }, } : { uiViewClassName: 'RCTScrollView', bubblingEventTypes: {}, directEventTypes: { topMomentumScrollBegin: { registrationName: 'onMomentumScrollBegin', }, topMomentumScrollEnd: { registrationName: 'onMomentumScrollEnd', }, topScroll: { registrationName: 'onScroll', }, topScrollBeginDrag: { registrationName: 'onScrollBeginDrag', }, topScrollEndDrag: { registrationName: 'onScrollEndDrag', }, topScrollToTop: { registrationName: 'onScrollToTop', }, }, validAttributes: { alwaysBounceHorizontal: true, alwaysBounceVertical: true, automaticallyAdjustContentInsets: true, automaticallyAdjustKeyboardInsets: true, automaticallyAdjustsScrollIndicatorInsets: true, bounces: true, bouncesZoom: true, canCancelContentTouches: true, centerContent: true, contentInset: { diff: require('../../Utilities/differ/insetsDiffer'), }, contentOffset: { diff: require('../../Utilities/differ/pointsDiffer'), }, contentInsetAdjustmentBehavior: true, decelerationRate: true, endDraggingSensitivityMultiplier: true, directionalLockEnabled: true, disableIntervalMomentum: true, indicatorStyle: true, inverted: true, keyboardDismissMode: true, maintainVisibleContentPosition: true, maximumZoomScale: true, minimumZoomScale: true, pagingEnabled: true, pinchGestureEnabled: true, scrollEnabled: true, scrollEventThrottle: true, scrollIndicatorInsets: { diff: require('../../Utilities/differ/insetsDiffer'), }, scrollToOverflowEnabled: true, scrollsToTop: true, showsHorizontalScrollIndicator: true, showsVerticalScrollIndicator: true, snapToAlignment: true, snapToEnd: true, snapToInterval: true, snapToOffsets: true, snapToStart: true, verticalScrollIndicatorInsets: { diff: require('../../Utilities/differ/insetsDiffer'), }, zoomScale: true, ...ConditionallyIgnoredEventHandlers({ onScrollBeginDrag: true, onMomentumScrollEnd: true, onScrollEndDrag: true, onMomentumScrollBegin: true, onScrollToTop: true, onScroll: true, }), }, }; const ScrollViewNativeComponent: HostComponent<Props> = NativeComponentRegistry.get<Props>( 'RCTScrollView', () => __INTERNAL_VIEW_CONFIG, ); export default ScrollViewNativeComponent;
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 11
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
AndroidHorizontalScrollContentViewNativeComponent.js
552 B
lrw-r--r--
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
AndroidHorizontalScrollViewNativeComponent.js
2.22 KB
lrw-r--r--
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
processDecelerationRate.js
682 B
lrw-r--r--
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ScrollContentViewNativeComponent.js
880 B
lrw-r--r--
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ScrollView.d.ts
32.17 KB
lrw-r--r--
2025-03-28 11:04:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ScrollView.js
68.78 KB
lrw-r--r--
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ScrollViewCommands.js
1.31 KB
lrw-r--r--
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ScrollViewContext.js
738 B
lrw-r--r--
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ScrollViewNativeComponent.js
5.90 KB
lrw-r--r--
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ScrollViewNativeComponentType.js
2.68 KB
lrw-r--r--
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ScrollViewStickyHeader.js
10.85 KB
lrw-r--r--
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).