13.27.3 • Published 1 month ago

@prizmdoc/viewer-core v13.27.3

Weekly downloads
682
License
See license in LI...
Repository
-
Last release
1 month ago

viewer-core

The @prizmdoc/viewer-core module contains core document viewing functionality and API that powers the PrizmDoc HTML5 viewer. Most people should not use this module directly but should instead start with one of our PrizmDoc viewer samples.

This module defines the PCCViewer namespace and the essential ViewerControl object, the thing which is responsible for displaying document page content to the end user and allowing them to interact with it. It does not define any of the standard buttons or panels which are part of the typical, "full" PrizmDoc viewer.

If you're still interested in using the viewer-core module directly, please check out our api documentation.

Including viewer-core

Browser

Script

<script src="/path/to/viewer-core/viewercontrol.js"></script>

ES5

var PCCViewer = require('@prizmdoc/viewer-core');

ES6

import { ViewerControl, SignatureControl, ThumbnailControl } from '@prizmdoc/viewer-core';
  • note: viewer-core requires a window with a document object;

Browserify/Webpack

viewer-core can be included in your pre-packaged projects using tools like Webpack, Browserify, and other packagers that support require modules. In general, all you have to do is include viewer-core in your project. You should include it as close to the root file of your build as possible.

13.27.3

1 month ago

13.26.5

4 months ago

13.25.4

8 months ago

13.24.7

11 months ago

13.23.8

1 year ago

13.22.43

1 year ago

13.22.42

1 year ago

13.21.7

2 years ago

13.20.3

2 years ago

13.19.0

2 years ago

13.18.3

3 years ago

13.17.2

3 years ago

13.16.3

3 years ago

13.15.11

3 years ago

13.14.13

4 years ago

13.13.10

4 years ago

13.12.15

4 years ago

13.11.5

4 years ago

13.10.1

5 years ago

13.9.6

5 years ago

13.8.0

5 years ago

1.0.23

5 years ago

1.0.4

6 years ago

1.0.3

6 years ago