imports/vx/client/code/ux.js
/**
     * Show a modal by mounting and rendering it into a specified anchor element.
     *
     * @param {object} element React element representing modal to be shown.
     * @param {object} anchorSelector Optional anchor jQuery selector.
     */
Show a modal by mounting and rendering it into a specified anchor element.
@param {object} element React element representing modal to be shown.
@param {object} anchorSelector Optional anchor jQuery selector.
Show a modal by mounting and rendering it into a specified anchor element . @param { object } element React element representing modal to be shown . @param { object } anchorSelector Optional anchor jQuery selector .
showModal(element, anchorSelector) {
        if (!React.isValidElement(element)) {
            OLog.error("ux.js showModal supplied element is not a React element")
            return
        }
        UX.mountModal(element, anchorSelector)
    }
showModal ( element , anchorSelector ) { if ( ! React . isValidElement ( element ) ) { OLog . error ( "ux.js showModal supplied element is not a React element" ) return } UX . mountModal ( element , anchorSelector ) }
Show a modal by mounting and rendering it into a specified anchor element.
Show a modal by mounting and rendering it into a specified anchor element .