Member Junction
    Preparing search index...

    Options the host page supplies (via data-attributes or the programmatic API).

    interface WidgetMountOptions {
        apiUrl: string;
        greeting?: string;
        mountTarget?: string | HTMLElement;
        title?: string;
        widgetKey: string;
    }
    Index

    Properties

    apiUrl: string

    Base URL of MJAPI (e.g. https://api.yourco.com).

    greeting?: string

    Optional greeting shown in the empty state.

    mountTarget?: string | HTMLElement

    Element (or selector) to mount into. When omitted, a floating launcher is appended to .

    title?: string

    Optional UI title shown in the widget header.

    widgetKey: string

    The public widget key (pk_live_…).