Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-parallax-scroll-view

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-parallax-scroll-view - npm Package Compare versions

Comparing version 0.16.16 to 0.16.17

4

index.js

@@ -125,5 +125,5 @@ const React = require('react-native');

if (e.nativeEvent.contentOffset.y >= midpoint) {
onChangeHeaderVisibility({ visible: false, nativeEvent: e.nativeEvent });
onChangeHeaderVisibility(false);
} else {
onChangeHeaderVisibility({ visible: true, nativeEvent: e.nativeEvent });
onChangeHeaderVisibility(true);
}

@@ -130,0 +130,0 @@

{
"name": "react-native-parallax-scroll-view",
"version": "0.16.16",
"version": "0.16.17",
"description": "A ScrollView-like component with parallax and sticky header support",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -72,2 +72,2 @@ # react-native-parallax-scroll-view

| `renderScrollComponent` | `func` | No | A function with input `props` and outputs a `ScrollView`-like component in which the content is rendered. This is useful if you want to provide your own scrollable component. (See: [https://github.com/exponentjs/react-native-scrollable-mixin](https://github.com/exponentjs/react-native-scrollable-mixin)) (By default, returns a `ScrollView` with the given props) |
| `onChangeHeaderVisibility` | `func` | No | A callback function that is invoked when the parallax header is hidden or shown (as the user is scrolling). Function is called with an object of shape `{ visible: bool, nativeEvent: object }`, where `nativeEvent` is the scroll event. |
| `onChangeHeaderVisibility` | `func` | No | A callback function that is invoked when the parallax header is hidden or shown (as the user is scrolling). Function is called with a `boolean` value to indicate whether header is visible or not. |
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc