imports/vx/client/code/ux.js
/**
     * Determine whether this is a clone (creational) operation.
     *
     * @param {object} ui jQuery sortable ui object.
     * @param {object} component Component receiving drop.
     * @return {boolean} True if this is a clone operation.
     */
Determine whether this is a clone (creational) operation.
@param {object} ui jQuery sortable ui object.
@param {object} component Component receiving drop.
@return {boolean} True if this is a clone operation.
Determine whether this is a clone ( creational ) operation . @param { object } ui jQuery sortable ui object . @param { object } component Component receiving drop . @return { boolean } True if this is a clone operation .
isDropClone(ui, component) {
        if (!ui.sender) {
            return false
        }
        if (component.props.dropClone) {
            return true
        }
        const draggable = ui.sender.hasClass("vx-draggable")
        const droppable = ui.sender.hasClass("vx-droppable")
        return draggable && !droppable
    }
isDropClone ( ui , component ) { if ( ! ui . sender ) { return false } if ( component . props . dropClone ) { return true } const draggable = ui . sender . hasClass ( "vx-draggable" ) const droppable = ui . sender . hasClass ( "vx-droppable" ) return draggable && ! droppable }
Determine whether this is a clone (creational) operation.
Determine whether this is a clone ( creational ) operation .