Browse Source

add back js-isotope to html init

pull/850/merge
David DeSandro 10 years ago
parent
commit
2e087bbc52
  1. 3
      README.mdown

3
README.mdown

@ -57,7 +57,8 @@ var iso = new Isotope( container, {
Add a class of `js-isotope` to your element. Options can be set in JSON in `data-isotope-options`.
``` html
<div id="container" data-isotope-options='{ "itemSelector": ".item", "masonry": { "columnWidth": 200 } }'>
<div id="container" class="js-isotope"
data-isotope-options='{ "itemSelector": ".item", "masonry": { "columnWidth": 200 } }'>
<div class="item"></div>
<div class="item"></div>
...

Loading…
Cancel
Save