Hinzufügen von Beschriftungen mit schreibgeschütztem PSPDF Kit-Textformularfeld. Statische PSPDF-Kit-Instanz erstellt.
This commit is contained in:
@@ -14,8 +14,9 @@
|
||||
|
||||
// Load the PSPDFKit UI by setting a target element as the container to render in
|
||||
// and a arraybuffer which represents the document that should be displayed.
|
||||
static Instance
|
||||
static loadPSPDFKit(arrayBuffer, container, licenseKey, locale) {
|
||||
return PSPDFKit.load({
|
||||
UI.Instance = PSPDFKit.load({
|
||||
locale: locale,
|
||||
licenseKey: licenseKey,
|
||||
styleSheets: ['/css/site.css'],
|
||||
@@ -43,6 +44,8 @@
|
||||
Annotation: UI.annotationRenderer,
|
||||
},
|
||||
})
|
||||
|
||||
return UI.Instance;
|
||||
}
|
||||
|
||||
static configurePSPDFKit(instance, handler) {
|
||||
|
||||
Reference in New Issue
Block a user