Closed emavitta closed 1 month ago
This is an add to the props of the MouseParallaxcomponent. If the prop local is set to true, the mouse coordinates and the width and height are calculated locally from the canvas, not from the window.
MouseParallax
local
width
height
Run & review this pull request in StackBlitz Codeflow.
This is an add to the props of the
MouseParallax
component. If the proplocal
is set to true, the mouse coordinates and thewidth
andheight
are calculated locally from the canvas, not from the window.