Skip to content

Bottom Control Bar ​

PropertyDescriptionTypeDefault
controlBarBottom control bararray or booleanboolean

controlBar ​

We use the controlBar option to control whether the bottom control bar appears and what order its items appear in. The logic is:

  • Show all control items — default behavior, no need to set
  • Hide the entire bar — controlBar: false
  • Show only specific controls — e.g. controlBar: ['zoomOut', 'zoomIn', 'help']

Available Controls ​

keyDescriptionNotes
zoomOutZoom out—
zoomInZoom in—
rotateLeftRotate left—
customRotateCustom rotate—
rotateRightRotate right—
resetReset—
prevPrevious imageOnly works when multiple images are enabled
nextNext imageOnly works when multiple images are enabled
downloadDownload—
helpKeyboard shortcuts hintOnly active when shortcuts are enabled

TIP

The order you list the control items will determine their display order in the UI