Sha256: 48e0ec22c28e1aa04995613929daf9691cf68f93da37ef412f7b736df382cfcc
Contents?: true
Size: 706 Bytes
Versions: 11
Compression:
Stored size: 706 Bytes
Contents
--- title: no items layout: default category: tests --- <section id="copy"> <p>What happens when there are no items for Isotope? If no items match `itemSelector`, container collapses. Plugin still <code>return this</code>.</p> </section> <div id="container"> {% for element in site.elements limit:20 %} {% include element-partial.html %} {% endfor %} </div> <!-- #container --> <script src="../{{ site.jquery_js }}"></script> <script src="../{{ site.isotope_js }}"></script> <script> $(function(){ var $container = $('#container'); $container.isotope({ itemSelector: '.foo' }).css('border', '10px solid'); }); </script>
Version data entries
11 entries across 11 versions & 1 rubygems