0.2.5 • Published 4 years ago

jquery.contents-outline v0.2.5

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

jquery.contents-outline

Get started

Install

$ yarn add jquery.contents-outline

Load scripts

<script src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
<script src="/node_modules/jquery.contents-outline/dist/jquery.contents-outline.min.js"></script>

Setting

<div class="index" id="index-1">
  <script>
  jQuery(function($) {
    $('#index-1').contentsOutline({
      headings : $('h2, h3, h4, h5, h6'), // Optional
      moveToBefore1stHeading: true        // Optional
    });
  });
  </script>
  <div class="contents-outline"></div>
</div>

License

MIT

0.2.5

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago