Function updateMiniCardsGrid

  • Updates the mini cards grid based on the specified rows and columns.

    Parameters

    Returns Promise<void>

    A promise that resolves when the mini cards grid is updated.

    Will throw an error if the update operation fails.

    const options = {
    rows: 2,
    cols: 3,
    defal: true,
    actualRows: 2,
    parameters: {
    updateGridRows: updateGridRowsFunction,
    updateGridCols: updateGridColsFunction,
    updateAltGridRows: updateAltGridRowsFunction,
    updateAltGridCols: updateAltGridColsFunction,
    updateGridSizes: updateGridSizesFunction,
    gridSizes: { gridWidth: 100, gridHeight: 100 },
    paginationDirection: 'horizontal',
    paginationHeightWidth: 50,
    doPaginate: true,
    componentSizes: { otherWidth: 300, otherHeight: 200 },
    eventType: 'chat',
    getUpdatedAllParams: getUpdatedAllParamsFunction,
    },
    };

    await updateMiniCardsGrid(options);