API Docs for: 0.1.1
Show:

Parallax Class

Module: Joy

Constructor

Parallax

(
  • options
)

Parameters:

  • options Object

Item Index

Attributes

distance

Number

Distance between each parallax child.

velocity

Number

Amount of velocity that will increase by child.

viewport

Viewport

Viewport that parallax effect will be based on.