Fionna Chan
1 min readMar 20, 2019

--

Hello,

The easiest way is to put

setInterval(() => {
_.def.arrowRight.click()
}, 2000);

in the init function, however you need to also handle the cases when the slider is automatically changing, but the user is clicking on the arrows / swiping it.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Fionna Chan
Fionna Chan

Written by Fionna Chan

Frontend Unicorn. I πŸ’– CSS & JavaScript. My brain occasionally runs out of memory so I need to pen down my thoughts. βœ¨πŸ’»πŸ¦„πŸŒˆ.y.at

No responses yet

Write a response