feat: Erstellung der konstanten Variablen DEVICE_TYPE und IS_DESKTOP.

- Aufteilung der benutzerdefinierten Symbolleistenelemente in writableItems und mobileItems
 - beide werden abhängig von der jeweiligen Bedingung hinzugefügt
This commit is contained in:
Developer 02
2024-10-14 15:44:21 +02:00
parent 869493bd97
commit 6440dd09d1
5 changed files with 41 additions and 42 deletions

View File

@@ -48,7 +48,7 @@ class App {
// Load PSPDFKit
this.Instance = await UI.loadPSPDFKit(arrayBuffer, this.container, this.licenseKey, this.locale)
UI.configurePSPDFKit(this.Instance, this.handleClick.bind(this))
UI.addToolbarItems(this.Instance, this.handleClick.bind(this))
this.Instance.addEventListener(
'annotations.load',