imports/vx/client/code/vxapp.js
/**
     * Drop handler for multi-select drops.
     *
     * @param {object} collection Collection to be updated.
     * @param {object} record Record to be updated.
     * @param {string} rowsPath Path to array within record.
     * @param {string} rowId Name of the property that uniquely identifies the row.
     * @param {object} dropInfo Drop information object.
     * @param {func} newItemHandler Function to transform a single new row from dropped item.
     */
Drop handler for multi-select drops.
@param {object} collection Collection to be updated.
@param {object} record Record to be updated.
@param {string} rowsPath Path to array within record.
@param {string} rowId Name of the property that uniquely identifies the row.
@param {object} dropInfo Drop information object.
@param {func} newItemHandler Function to transform a single new row from dropped item.
Drop handler for multi - select drops . @param { object } collection Collection to be updated . @param { object } record Record to be updated . @param { string } rowsPath Path to array within record . @param { string } rowId Name of the property that uniquely identifies the row . @param { object } dropInfo Drop information object . @param { func } newItemHandler Function to transform a single new row from dropped item .
handleDropMulti(collection, record, rowsPath, rowId, dropInfo, newItemHandler) {
        const parameters = {}
        parameters.dropInfo = dropInfo
        parameters.rowId = rowId
        parameters.newItemHandler = newItemHandler
        parameters.sourceCollection = collection
        parameters.sourceRecord = record
        parameters.sourceRowsPath = rowsPath
        parameters.targetCollection = collection
        parameters.targetRecord = record
        parameters.targetRowsPath = rowsPath
        VXApp.handleDropMultiPrime(parameters)
    }
handleDropMulti ( collection , record , rowsPath , rowId , dropInfo , newItemHandler ) { const parameters = { } parameters . dropInfo = dropInfo parameters . rowId = rowId parameters . newItemHandler = newItemHandler parameters . sourceCollection = collection parameters . sourceRecord = record parameters . sourceRowsPath = rowsPath parameters . targetCollection = collection parameters . targetRecord = record parameters . targetRowsPath = rowsPath VXApp . handleDropMultiPrime ( parameters ) }
Drop handler for multi-select drops.
Drop handler for multi - select drops .