IParallaxElementMovement

interface
Parallax

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

API

Properties

Every property declared by this interface, with its type, optionality and default.

x
required
number
y
required
number
target
DOMRect | IBox
originX
number
originY
number
strength
required
number
event
required
TParallaxEvent
minX
number
minY
number
maxX
number
maxY
number