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
});
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 });