mirror of
https://github.com/alexfoxy/lax.js.git
synced 2026-04-24 03:01:10 -04:00
Compare commits
3 Commits
ts-upgrade
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5d6d4c3772 | ||
|
|
3f3284b3a5 | ||
|
|
81a2232ba8 |
@@ -1,3 +1,6 @@
|
||||
# Archive Notice
|
||||
Due to other commitments I am unable to continue maintaining this project. As far as I know it still works, but there are likely better, more up to date alterantives out there.
|
||||
|
||||
# lax.js
|
||||
|
||||
Simple & lightweight (<4kb gzipped) vanilla JavaScript library to create smooth & beautiful animations when you scroll.
|
||||
|
||||
@@ -585,7 +585,7 @@
|
||||
})
|
||||
}
|
||||
|
||||
addElements = (selector, transforms, options) => {
|
||||
addElements = (selector, transforms, options = {}) => {
|
||||
const domElements = options.domElements || document.querySelectorAll(selector)
|
||||
|
||||
domElements.forEach((domElement, i) => {
|
||||
|
||||
Reference in New Issue
Block a user