Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for announceRandom (0.17 sec)

  1. docs/en/docs/js/custom.js

            children = shuffle(children)
            let index = 0
            const announceRandom = () => {
                children.forEach((el, i) => {el.style.display = "none"});
                children[index].style.display = "block"
                index = (index + 1) % children.length
            }
            announceRandom()
            setInterval(announceRandom, timeInterval
            )
        }
    }
    
    async function main() {
    JavaScript
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat May 08 17:50:56 GMT 2021
    - 6.6K bytes
    - Viewed (0)
Back to top