TinSlide 0.1.19

Cloak

If you're not using Dynamic markup and want to hide slider items until TinSlide has been loaded and / or initialized. Add the tin-slide-cloak attribute to your slider, or to individual items, and hide them with CSS. TinSlide removes the tin-slide-cloak attribute when it's initialized.

*[tin-slide-cloak] {
  display: none;
}
<div id="slider">
  <div><img src="img-1.jpg" /></div>
  <div tin-slide-cloak><img src="img-2.jpg" /></div>
  <div tin-slide-cloak><img src="img-3.jpg" /></div>
</div>