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

use-parallax

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

use-parallax - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

test/index.ts

15

dist/useParallax.d.ts

@@ -1,5 +0,10 @@

export declare function usePositiveOffset(offset: any): import("framer-motion").MotionValue<any>;
export declare function useSpeed(positiveOffset: any, ...rangeSpeedPairs: any[]): import("framer-motion").MotionValue<any>;
export declare function useSticky(positiveOffset: any, ...ranges: any[]): import("framer-motion").MotionValue<any>;
export declare function useParallax(positiveOffset: any, ...rangeFunPairs: any[]): import("framer-motion").MotionValue<any>;
export declare function useTrigger(positiveOffset: any, range: any, actionFun: any): void;
import { MotionValue } from "framer-motion";
export declare function usePositiveOffset(offset: MotionValue): MotionValue<any>;
declare type Range = number[];
declare type RangeSpeedPair = Range | number;
export declare function useSpeed(positiveOffset: MotionValue, ...rangeSpeedPairs: RangeSpeedPair[]): MotionValue<any>;
export declare function useSticky(positiveOffset: MotionValue, ...ranges: Range[]): MotionValue<any>;
export declare function useParallax(positiveOffset: MotionValue, ...rangeFunPairs: any[]): MotionValue<any>;
declare type TriggerCallback = (direction: number) => void;
export declare function useTrigger(positiveOffset: MotionValue, range: Range, actionFun: TriggerCallback): void;
export {};
{
"name": "use-parallax",
"version": "0.0.3",
"version": "0.0.4",
"description": "React Hooks to support scroll interactions along based on the Framer Motion library",

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

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