Releases: iDev-Games/Trig-JS
v3.0.0
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
Added in the new data attribute negativeOffset to be able to offset the start position in the opposite direction.
v2.1.7
v2.1.6 - Change to package.json.
v2.1.6
Removed tests from package.
v2.1.5
Github packages workflow
v2.1.4
Refactoring
v2.1.3
Refactoring.
v2.1.2
Fixed scroll position classes.
v2.1.1
Refactoring
v2.1.0
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.