You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 15, 2021. It is now read-only.
Dansoftowner edited this page Feb 15, 2020
·
4 revisions
In this page we talk about additional features in this library.
Visibility of secondaryToolbarToggle
The button wich has the 'secondaryToolbarToggle' id, is this button:
You can easily set the visibility of this element:
PDFDisplayerdisplayer = newPDFDisplayer();
displayer.setSecondaryToolbarToggleVisibility(false); //you pass false if you want to hide it, true if you want to make it visible
This will produce this result:
Set the visibility of any element wich has id
If you want to set the visibility of an element by it's id you can use the setVisibilityOf(String id, boolean val)
method.
For example this button: has the id called 'sidebarToggle' so you can set the visibility of this element this way: