imports/vx/client/code/ux.js
/**
     * Given a component and a value, use the component formatting rule to
     * render that value.
     *
     * @param {object} component Component.
     * @param {string} value Value.
     * @param {array} supplementalValues Optional supplemental values array.
     * @return {string} Value rendered according to formatting rule.
     */
Given a component and a value, use the component formatting rule to
render that value.

@param {object} component Component.
@param {string} value Value.
@param {array} supplementalValues Optional supplemental values array.
@return {string} Value rendered according to formatting rule.
Given a component and a value use the component formatting rule to render that value . @param { object } component Component . @param { string } value Value . @param { array } supplementalValues Optional supplemental values array . @return { string } Value rendered according to formatting rule .
render(component, value, supplementalValues) {
        let formatArgs = UX.getFormatArgs(component, value, supplementalValues)
        let result = component.props.format.render.apply(component, formatArgs)
        return Util.getNullAsEmpty(result)
    }
render ( component , value , supplementalValues ) { let formatArgs = UX . getFormatArgs ( component , value , supplementalValues ) let result = component . props . format . render . apply ( component , formatArgs ) return Util . getNullAsEmpty ( result ) }
Given a component and a value, use the component formatting rule to
 render that value.
Given a component and a value use the component formatting rule to render that value .