Strophe.js
    Preparing search index...

    Function $pres

    • Create a Strophe.Builder with a <presence/> element as the root.

      Parameters

      • Optionalattrs: Record<string, string>

        The element attributes in object notation.

      Returns Builder

      A new Strophe.Builder object.