wdpr
    Preparing search index...
    • Initialize foldable list behavior within the given root element.

      Scans for .foldable-list-container elements, sets up toggle anchors on list items with nested lists, and attaches click handlers for fold/unfold toggling.

      Parameters

      • root: HTMLElement

        The root DOM element containing rendered Wikidot markup.

      Returns ModuleCleanup

      A cleanup handle whose destroy() method removes all click listeners.