wdpr
    Preparing search index...
    • Initialize the Join module button handler within root.

      Delegates click events to .join-btn elements. When clicked, the onJoin callback from the runtime options is invoked. If no onJoin callback is provided, the handler is a no-op.

      Parameters

      • root: HTMLElement

        The root DOM element containing rendered Wikidot markup.

      • Optionaloptions: RuntimeOptions

        Runtime options containing the optional onJoin callback.

      Returns ModuleCleanup

      A cleanup handle whose destroy() method removes the click listener.