This class provides an ability for user to customize the several UI like contextmenu which may be triggered from PDFViewCtrl
module. You should customize that stuffs like the following example:
new PDFUI({
viewerOptions: {
viewerUI: new class extends UIExtension.XViewerUI {
createContextMenu(owner, anchor, config) {
// ...
}
}
}
})
|
| alert (message, title) |
| A method shows alert dialog like window.alert() More...
|
|
| confirm (message, title) |
| A method shows confirm dialog like window.alert() More...
|
|
| createContextMenu (owner, anchor, config) |
| A method which is used to create the contextmenu component and registers the right-click event. You can override this method to customize the right-click menu. More...
|
|
| prompt (defaultValue, message, title) |
| A method shows prompt dialog like window.alert() More...
|
|
| alert (message) |
| Display an alert dialog with the optional content and an OK button, then returns an fullfilled Promise after alert dialog closed. More...
|
|
| confirm (message) |
| Displays a modal dialog with an optional message and two buttons: OK and Cancel, then returns an Promise, that will be fullfilled if user clicks OK, and be rejected if user clicks Cancel. More...
|
|
| createContextMenu (key, anchor, config) |
| A method used to create the contextmenu component and registers the right-click event. You can override this method to customize the right-click menus. More...
|
|
| createTextSelectionTooltip (pageRender) |
| Creates a tooltip component that displays when user select texts. More...
|
|
| destroy () |
| A method will be called when PDFViewer is destroyed. You should override this method to perform the operation of destroy resources.
|
|
| getSignatureUI () |
| Obtains the instance which implements ISignatureUI. This method retrieves the user interface component responsible for managing digital signatures. More...
|
|
| loading (coverOn) |
| Displays a loading layer to indicate the loading state of a page or a component. More...
|
|
| prompt (defaultValue, message, title) |
| Displays a dialog with an optional message prompting the user to input some text. More...
|
|
| promptPassword (defaultValue, message, title) |
| Displays a dialog with a optional message prompting the user to input password. More...
|
|
This class provides an ability for user to customize the several UI like contextmenu which may be triggered from PDFViewCtrl
module. You should customize that stuffs like the following example:
new PDFUI({
viewerOptions: {
viewerUI: new class extends UIExtension.XViewerUI {
createContextMenu(owner, anchor, config) {
// ...
}
}
}
})
.
- Since
- 7.2.0