Adjusts the layout parameters based on the provided options.
Throws an error if there is an issue updating the grid sizes.
await readjust({ n: 5, state: 1, parameters: { eventType: 'conference', shareScreenStarted: false, shared: false, mainHeightWidth: 100, prevMainHeightWidth: 80, hostLabel: 'Host Name', first_round: false, lock_screen: false, updateMainHeightWidth: updateMainHeightWidthFunction, getUpdatedAllParams: getUpdatedAllParamsFunction, },}); Copy
await readjust({ n: 5, state: 1, parameters: { eventType: 'conference', shareScreenStarted: false, shared: false, mainHeightWidth: 100, prevMainHeightWidth: 80, hostLabel: 'Host Name', first_round: false, lock_screen: false, updateMainHeightWidth: updateMainHeightWidthFunction, getUpdatedAllParams: getUpdatedAllParamsFunction, },});
The options for readjusting the layout.
A promise that resolves when the layout adjustment is complete.
Adjusts the layout parameters based on the provided options.
Throws
Throws an error if there is an issue updating the grid sizes.
Example