The options for the estimation.
An array containing the estimated number of items, rows, and columns.
const options = {
n: 10,
parameters: {
fixedPageLimit: 5,
screenPageLimit: 8,
shareScreenStarted: false,
shared: false,
eventType: 'conference',
removeAltGrid: false,
isWideScreen: true,
isMediumScreen: false,
updateRemoveAltGrid: (value) => console.log('Remove Alt Grid:', value),
calculateRowsAndColumns: ({ n }) => [3, 4], // Example implementation
},
};
const estimate = getEstimate(options);
console.log('Estimated:', estimate); // Output: Estimated: [10, 3, 4]
Estimates the number of rows and columns for a given set of parameters.