properties of undefined (reading 'homeSlide')
at Class.transitionTimeoutCallback (MMM-Carousel.js:474:28)
at MMM-Carousel.js:466:14
transitionTimeoutCallback @ MMM-Carousel.js:474
(anonymous) @ MMM-Carousel.js:466
setTimeout (async)
restartTimer @ MMM-Carousel.js:465
manualTransitionCallback @ MMM-Carousel.js:489
(anonymous) @ MMM-Carousel.js:507
I suspect that the callback is not called correctly, because it seems to lose the this context.
After changing it, so the context is being captured, other problems start to occur.
Calling this.moduleTransition from inside the callback, seems to lose the initial binding of the modules context. This will lead to this.length being undefined, among other undefined this. fields.
I am not sure how all of this is intertwined, since I am asking for help on how to fix this..?
Describe the bug When using the
transitionTimeout
config, nothing is happening.To Reproduce Steps to reproduce the behavior:
Expected behavior Move to the configured
homeSlide
Configuration
Logs
I suspect that the callback is not called correctly, because it seems to lose the
this
context. After changing it, so the context is being captured, other problems start to occur.Calling
this.moduleTransition
from inside the callback, seems to lose the initial binding of themodules
context. This will lead tothis.length
being undefined, among other undefinedthis.
fields.I am not sure how all of this is intertwined, since I am asking for help on how to fix this..?