@honua/sdk-js
    Preparing search index...
    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    Methods

    • Ensures the injected web-component kit is registered and the element is mounted into the container. Returns the element, or undefined when no DOM / container / kit is available (headless shims, or an application that never called registerHonuaWidgetKit).

      A container was supplied but no kit was registered — the "migrated app comes up blank" case — is the one failure worth being loud about, so it emits the one-time diagnostic. Headless usage (no DOM, no container) stays silent: that is a legitimate state-model-only mode, not a mistake.

      Returns Promise<HonuaWidgetHostElement | undefined>