Skip to content

Releases: iDev-Games/Trig-JS

v3.0.0

19 May 20:29
Compare
Choose a tag to compare

Optimisations mainly but major version change due to the fundamentals changing. To make less going on at once, data attributes must be added for data-trig-var="true", data-trig-pixels="true" or data-trig-degrees="true" to create the position css variables. This'll disrupt any current usage of previous versions and would need amendments to make things work again. This'll make trig JS much lighter for use when only using animation triggers when on screen or using the body classes. It also improves the usage when using many scroll animations at once.

v2.2

24 Sep 18:56
Compare
Choose a tag to compare

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

v2.1.7

12 Apr 22:07
Compare
Choose a tag to compare
v2.1.6 - Change to package.json.

v2.1.6

12 Apr 21:41
Compare
Choose a tag to compare

Removed tests from package.

v2.1.5

12 Apr 21:24
2c0454c
Compare
Choose a tag to compare

Github packages workflow

v2.1.4

10 Apr 20:51
Compare
Choose a tag to compare

Refactoring

v2.1.3

09 Apr 18:46
Compare
Choose a tag to compare

Refactoring.

v2.1.2

08 Apr 23:06
Compare
Choose a tag to compare

Fixed scroll position classes.

v2.1.1

08 Apr 21:01
Compare
Choose a tag to compare

Refactoring

v2.1.0

08 Apr 20:39
Compare
Choose a tag to compare

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.