Trig JS Versions Save

The easy way to create CSS scroll animations that react to the position of your HTML element on screen. Animate on scroll (AOS) your CSS.

v2.2

7 months ago

Added in the new data attribute negativeOffset to be able to offset the start position in the opposite direction.

v2.1.7

1 year ago

v2.1.6

1 year ago

Removed tests from package.

v2.1.5

1 year ago

Github packages workflow

v2.1.4

1 year ago

Refactoring

v2.1.3

1 year ago

Refactoring.

v2.1.2

1 year ago

Fixed scroll position classes.

v2.1.1

1 year ago

Refactoring

v2.1.0

1 year ago

Now creates a class of "trig-scroll-top" or "trig-scroll-bottom" onto the body of the document depending on the last scroll position. To give the ability to make something happen at different break points down the page. The classes "trig-scroll-25", "trig-scroll-50" and "trig-scroll-75" are added to the body of the document depending on the scroll position percentage down the page.

v2.0.2

1 year ago

Fixed the responsiveness of scroll direction.