ezekielaquino / Marquee3000

Marquees for the new millenium
https://ezekielaquino.com/2019/marquee
MIT License
438 stars 81 forks source link

Updating README.md #15

Closed olavoparno closed 4 years ago

olavoparno commented 6 years ago

Rewrote some code blocks due to GitHub's misunderstanding.

// Refresh all instances Marquee3k.refreshAll(); // or, since all marquees are available // globally, target a specific instance Marquee3k.refresh(index); // index of marquee

and

Marquee3k.init({ selector: '.selector-name', // define a custom classname });