@kapto/revo-plugin v0.8.18
Kapto Document View Plugin for REVO
Install
npm i @kapto/revo-pluginUsage
import Plugin from '@kapto/revo-plugin';
<Plugin documentId="{document id here}" serviceUri="{service uri here}" />Props
serviceUri *
URL of the API to load data.
documentId *
ID of the document you want to visualize the data.
tokenId *
ID of the token obtained after doing authentication.
userId *
ID of the user obtained after doing authentication.
staticPath
Path to load static assets(in case you have one different from the default one(default is /static)).
workerPath
Path to load PDF worker(in case you have one different from the default one (default is /static/worker/pdf.worker.min.mjs)).
cMapPath
Path to load Characters Maps for PDF (in case you have one different from the default one (default is /static/cmaps)).
Static Serve Assets !!!
To make the component work properly some static assets that comes with it needs to be served.
Those assets are located in static folder. (Inside installed package dist folder)
Please make sure to copy them to be served from a static path.
By default, staticPath prop is set to /static, if you want to serve assets from a different path you can specify staticPath prop value.
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago