src/configs/row.js
/**
 * Create new Row Object
 * @param type
 */
Create new Row Object
@param type
Create new Row Object @param type
function createNewRow(type) {
    if (!ROW_TYPES[type]) {
        throw new TypeError(`Row Type: ${type} doesn't exists in Vue-Form-Builder`);
    }
    let newRowObject = HELPER.cloneDeep(ROW_DEFAULT_DATA)
    newRowObject.type = type
    newRowObject.uniqueId = "row-" + HELPER.getUUIDv4()
    return newRowObject
}
function createNewRow ( type ) { if ( ! ROW_TYPES [ type ] ) { throw new TypeError ( ` ${ type } ` ) ; } let newRowObject = HELPER . cloneDeep ( ROW_DEFAULT_DATA ) newRowObject . type = type newRowObject . uniqueId = "row-" + HELPER . getUUIDv4 ( ) return newRowObject }
Create new Row Object
 @param type
Create new Row Object @param type
// create new section data base on the default data