How can I move menuOverlay

Product: Webviewer

Product Version: 10.1.0

How can I move menuOverlay so that it is placed on the right on the header rather than the left?

Hi There,

You can use the setHeaderItems API to customize the header. Below is a sample code with the menuOverlay on the right side.

instance.UI.setHeaderItems(header => {
    const items = header.getItems();
    const menuOverlay = items.shift();

And here → link is a complete guide about Header customization.

Dandara Navarro

1 Like