Global

Methods

EXP_INIT()

Source:

Home page scripts.

Requires:

homeInit()

Source:

Home page scripts.

Requires:

Type Definitions

offsetObject

Source:
Properties:
Name Type Description
top number

'top' position relative to 'body'

left number

'left' position relative to 'body'

HTMLElement offset. Every property is in pixels

Type:
  • object

stElement

Source:
Properties:
Name Type Description
el HTMLElement

HTMLElement

offset offsetObject

HTMLElement's offsetObject.

active boolean

True/False if is element is active.

index number

Index. Nuff' said.

Scroll Trigger Elements wrapper

Type:
  • object

stOptions

Source:
Properties:
Name Type Description
eventName string

Custom event name

offset number

Trigger line numerical offset.

position string

'center' (default), 'top', 'bottom' | Position of trigger line.

probe boolean

false (default).

selector string

'Element' selector. Must be data-*.

Scroll Trigger Options Object

Type:
  • object

svglOptions

Source:
Properties:
Name Type Description
svg SVGElement

SVG | Required

path SVGPolylineElement | SVGPolygonElement

Path to draw | Required

triggers Array.<triggerInfo>

triggerInfo Array | Required

triggerPad number

padding for the trigger points | Optional

svgLine options object

Type:
  • object

triggerInfo

Source:
Properties:
Name Type Description
point number

Trigger index for SVGElement.points

sectionLength number

Length from start of path to this trigger point

prevOffset number

Vertical distance between previous point and this

nextOffset number

Vertical distance between this point ant the next

Trigger points info

Type:
  • object