ol
instead of ul
element since its more semantic.smoothScroll
option is now scrollSmooth
, still accepting a booleansmoothScrollDuration
option is now scrollSmoothDuration
, still accepting a number.toc-right
class for this.\static
instead of \build
.src/components
with the template used for the website. This can now be more easily reused by other projects.overflow-y: auto
to the .toc selector so that it scrolls
(#17).includeHtml
option to mirror markup from the headings in the TOC (#14).listItemClass
will be omitted if an empty string in passed.test:watch
command.listItemClass
option to set classes on list items (#12).positionFixedSelector
option to specify the element to add a fixed position class to.throttleTimeout
option.contentSelector
to be .js-toc-content
.ignoreSelector
to be .js-toc-ignore
.collapsibleClass
to be .is-collapsible
.default-options.js
.