Skip to content

Instantly share code, notes, and snippets.

@KustomDeveloper
Created February 5, 2020 22:57
Show Gist options
  • Select an option

  • Save KustomDeveloper/18629b67c70c38be73899ca3be26861e to your computer and use it in GitHub Desktop.

Select an option

Save KustomDeveloper/18629b67c70c38be73899ca3be26861e to your computer and use it in GitHub Desktop.
Make a copy of a set of elements and loop through them using es6
[...document.querySelectorAll('.navlink')].forEach((item) => {
setTimeout(() => {
TweenMax.to(item, 0.1, {left:0});
}, 300)
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment