Optional
className?: stringCSS class added to the button
Optional
collapsable?: booleanif the button can be moved to menu when the navbar is too small
Content of the button. Preferably a square image or SVG icon
Optional
disabled?: booleaninitial state of the button
Optional
id?: stringUnique identifier of the button, usefull when using the Navbar.getButton method
Optional
onClick?: (viewer: Viewer) => voidFunction called when the button is clicked
Optional
tabbable?: booleanif the button is accessible with the keyboard
Optional
title?: stringTooltip displayed when the mouse is over the button
If can be a key in the global lang
config
Optional
visible?: booleaninitial visibility of the button
Definition of a custom navbar button