Strophe.js
    Preparing search index...

    Function validAttribute

    • Utility method to determine whether an attribute is allowed as recommended per XEP-0071

      XHTML attribute names are case sensitive and must be lower case.

      Parameters

      • tag: string
      • attribute: string

      Returns boolean

      Strophe.XHTML.validAttribute