data-josh-anim-delay doesn't work
See original GitHub issueHi,
The data attribute data-josh-anim-delay
doesn’t work because:
delay = targetElm.dataset.joshDelay; // Animation delay
in josh.js
should be
delay = targetElm.dataset.joshAnimDelay; // Animation delay
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:5 (1 by maintainers)
Top Results From Across the Web
jQuery .delay() doesn't work - Stack Overflow
delay () method allows us to delay the execution of functions that follow it in the queue. It can be used with the...
Read more >mamunhpath/josh.js: A JavaScript library to animate ... - GitHub
A JavaScript library to animate content on page scroll · No jQuery Dependency · Written on ES6(Compiled ES5 version available) · Very much...
Read more >Josh.js - A JavaScript Library to Animate Content on Page Scroll
A JavaScript library to animate content on page scroll. No jQuery Dependency. Written on ES6(Compiled ES5 version available).
Read more >Delay function doesn't work - Arduino Forum
I am using an Arduino Mega 2560 and using pins 2 and 3 for A and B outputs of the encoder. I am...
Read more >Newbie tries to get delay to work : r/puredata - Reddit
Hello. I am new to PureData and I want to delay an OSC message for X seconds. I found the object delay, but...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Alternatively the data attribute name could be changed to
data-josh-delay
. In this context I am wondering if thejosh-anim
name space is needed at all or would justjosh
be easier hencedata-josh-anim-name
could becomejosh-name
or justjosh
. See as well michalsnik/aos.@mamunhpath thank you for your library and the update. Since I am using it in a cms where all the js files get concatenated the compressed version from the file
src/josh.js
is needed. When bumbing the library to 1.0.8 two issues were found:dist/josh.min.js
isn’t the compressed version since the naming convention would suggest so.dist/josh.es5.min.js
the attributedata-josh-anim-delay
isn’t working wheredata-josh-delay
does.