new Toolbar(configuration, docViewerId)
Defines toolbar class used to construct a new toolbar for initializing.
Parameters:
Name | Type | Description |
---|---|---|
configuration |
WebPDF.Toolbar.Configuration | toolbar configuration |
docViewerId |
string | The dom element id name to wrapper current WebPDFViewer |
- See:
Classes
Methods
-
<static> getRegistry()
-
get toolbar registry instance
Returns:
- Type
- ToolbarRegistry
-
initialize()
-
Parse the toolbar configuration and display it on the interface