public static Widget findWidget(Element elt) {
        if (elt == null) return null;
        EventListener listener = DOM.getEventListener(elt);
        if (listener == null || !(listener instanceof Widget)) return null;
        return (Widget) listener;
    }
public static Widget findWidget ( Element elt ) { if ( elt == null ) return null ; EventListener listener = DOM . getEventListener ( elt ) ; if ( listener == null || ! ( listener instanceof Widget ) ) return null ; return ( Widget ) listener ; }
Needed to find out jqm widget by its Element received usually from JavaScript.
<br> Only loaded (attached to DOM) widgets can be found.