Lines Matching defs:toc
146 var invisible = elem.parentNode.querySelector(".toc").classList.contains("invisible");
163 * @param {HTMLElement} elem A toc item element.
170 elem.parentNode.querySelector(".toc").classList.remove("invisible");
189 * @param {HTMLElement} elem A toc item element.
197 if (p.classList.contains("toc"))
220 * @param {HTMLElement} elem A toc item element.
227 elem.parentNode.querySelector(".toc").classList.add("invisible");
352 * @param {HTMLElement} toc A TOC HTML element.
354 ReadtheDokus.prototype._embedToc = function(target, toc)
357 if (target && toc)
359 target.parentNode.appendChild(toc);
370 * @param {HTMLElement} toc A TOC HTML element.
372 ReadtheDokus.prototype._showToc = function(toc)
375 if (toc)
387 * @param {HTMLElement} toc A TOC HTML element.
389 ReadtheDokus.prototype._initToc = function(toc)
392 if (toc)
461 if (elem.parentNode.querySelector(".toc"))