changeToolbarPosition()

changeToolbarPosition(side: 'left' | 'bottom' | 'right')

Changes the position of the toolbar - left, bottom or right

//Places the toolbar at the left side of the page
sambaFrame.changeToolbarPosition('left');

//Places the toolbar at the bottom of the page
sambaFrame.changeToolbarPosition('bottom');

//Places the toolbar at the right side of the page
sambaFrame.changeToolbarPosition('right');

Sample use cases:

  • You may want to control the toolbar position dynamically during the conference

showToolbar is often used in conjunction with the hideToolbar method.

Last updated