diff --git a/src/frontend/js/modules/table-of-content.js b/src/frontend/js/modules/table-of-content.js index fa89b06..093bd45 100644 --- a/src/frontend/js/modules/table-of-content.js +++ b/src/frontend/js/modules/table-of-content.js @@ -4,6 +4,9 @@ export default class TableOfContent { /** * Initialize table of content + * + * @param {string} tagSelector - selector for tags to observe + * @param {string} tocWrapperSelector - selector for table of content wrapper */ constructor({ tagSelector, tocWrapperSelector }) { this.tagSelector = tagSelector || 'h2,h3,h4';