- Core version: “8.1.1”
- Full API: false
- UI version: “8.1.0”
- WebViewer Server: false
I’am using Free Pdf Express Viewer with pure Javascript/HTML.
How to remove divider from header?
I’am using Free Pdf Express Viewer with pure Javascript/HTML.
How to remove divider from header?
Hello, I’m Ron, an automated tech support bot
While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:
Guides:APIs:Forums:Hey!
You can use the setHeaderItems
api to filter out thing in the header you do not want:
This will remove all dividers in the header:
instance.UI.setHeaderItems(header => {
const items = header.getItems().filter(item => item.type !== 'divider');
header.update(items);
});
If you want to just remove a specific one, you can just remove it from the array returned by getItems
.
Thanks!
Logan