UFJQuery contains static methods to support jQuery.

Methods

  • Adds the name space to the event(s).

    Parameters

    • events: string

      One or more events separated by a space character

    • namespace: string

      Namespace to add (without '.')

    Returns string

    The events with namespace separated by a space characters.

  • Returns jQuery instance of an element.

    Parameters

    • element: any

      Selector text or jQuery instance

    Returns any

    anElement itself if it is an jQuery instance else the method returns $(anElement). If anElement is a falsy, the method will return anElement.