1.1.4 • Published 1 year ago

pdf_editor_aleon35_react_plugin v1.1.4

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

hello

Core

Parameters

file String "" Required

The URL path to your file.

container Required

The HTML element to attach the PDF viewer to.

fileName String file.pdf Optional

The name of your file. Useful if you want to configure the file name of the downloaded file.

tools Object {}

Control what tools are available in the UI. Available keys are thumbnails, general, editing, ...

useCreateIframeAndLoadViewer({
  tools: {
    thumbnails: ...,
    general: ...,
    editing: ...,
  },
  ...other parameters
});

general Object []

FieldDescription
zoomEnable zoom in/out of the document in view
searchEnable search functions
downloadEnable downloading the document
thumbnailsEnable a thumbnails panel
useCreateIframeAndLoadViewer({
  tools: {
    general: [
      "zoom",
      "search",
      "download",
      "thumbnails"
    ],
  },
  ...other parameters
});

thumbnails Object []

FieldDescription
zoomEnable a slider above thumbnails to increase/decrease the size of the thumbnails
expandEnable the thumbnails bar to be expandable to the full screen
useCreateIframeAndLoadViewer({
  tools: {
    thumbnails: [
      "zoom",
      "expand"
    ],
  },
  ...other parameters
});

editing Object []

FieldDescription
removeEnable the ability to remove pages
rotationEnable the rotation of individual pages
useCreateIframeAndLoadViewer({
  tools: {
    editing: [
      "remove",
      "rotation"
    ],
  },
  ...other parameters
});

locale string en Optional

Options:

en - English

es - Spanish

ru - Russian

onFileFailed Function optional

Callback when a file fails to upload

useCreateIframeAndLoadViewer({
  onFileFailed: (errorMessage) => {
    // handle the failure as you need
  }
});
1.1.4

1 year ago

1.1.0

1 year ago

1.0.38

1 year ago

1.1.2

1 year ago

1.0.62

1 year ago

1.0.40

1 year ago

1.0.60

1 year ago

1.0.66

1 year ago

1.0.44

1 year ago

1.0.64

1 year ago

1.0.42

1 year ago

1.0.48

1 year ago

1.0.68

1 year ago

1.0.46

1 year ago

1.0.28

1 year ago

1.0.72

1 year ago

1.0.50

1 year ago

1.0.70

1 year ago

1.0.54

1 year ago

1.0.32

1 year ago

1.0.74

1 year ago

1.0.52

1 year ago

1.0.30

1 year ago

1.0.58

1 year ago

1.0.36

1 year ago

1.0.56

1 year ago

1.0.34

1 year ago

1.0.26

1 year ago

1.0.24

1 year ago

1.0.22

1 year ago

1.0.20

1 year ago

1.0.18

1 year ago

1.0.16

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.11

1 year ago

1.0.9

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.4

1 year ago

1.0.2

1 year ago

1.0.0

1 year ago