wdpr
    Preparing search index...

    Module modules/join

    Runtime module for the Wikidot [[module Join]] button.

    The Join module renders a .join-btn element that, when clicked, invokes the host application's join callback (options.onJoin). If no callback is provided, clicks are silently ignored.

    DOM interactions:

    • Listens for click (bubble) on root, delegated to .join-btn
    • Calls options.onJoin() (which returns a Promise) on click

    The destroy() cleanup function removes the click listener.

    Functions

    initJoin