Methods
-
<static> expand(isExpand)
-
Expand or collapse a panel by name.
Parameters:
Name Type Description isExpandBoolean True expand panel, false collapse panel.
Example
var panel = WebPDF.NavigationComponent.getPanel('panelName'); //expand panel panel.expand(true); //collapse panel panel.expand(false); -
<static> getPanel(panelName)
-
Get panel by panel name.
Parameters:
Name Type Description panelNameString Optional items : bookmark,thumb,search,comment-list
Example
var panel = WebPDF.NavigationComponent.getPanel('panelName'); -
<static> isExpand()
-
Whether the navigation panel is expanded
Returns:
- Type
- boolean
-
<static> toggle()
-
Expand or collapse panel depending on either of the navigation's status
Example
WebPDF.NavigationComponent.toggle()