onLayoutChange
callback. To account for this, add the object-fit
CSS property to the user’s image and set the value to contain
. This ensures that the image smoothly within its container.void
opts
opts.commit
false
, the user is changing the layout. If true
, the user has finished changing the layout.opts.page
opts.page.height
opts.page.width
void