Skip to content

About

JavaScript Library for using viewer.filelabel.co in your application.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

fileviewer-js

JavaScript Library for using viewer.filelabel.co in your application, requires jQuery.

Basic Usage

Load the document in the browser:

var viewer = new Fileviewer({
	'apiKey':'YOUR_API_KEY',
	'doc':'https://viewer.filelabel.co/documents/file.pdf'
});

Load the document in an iframe within an element on your page:

var viewer = new Fileviewer({
	'apiKey':'YOUR_API_KEY',
	'doc':'https://viewer.filelabel.co/documents/file.pdf',
	'target':'#viewer'
});

Further Info

Please note that this library will expose your API key if you use it in the browser, which is not recommended. Furthermore, if you need more complex integration with permissions, you should use a server side integration. You can read the documentation at:

https://filelabelexpress.com/software/document-viewer/viewer-documentation/

About

JavaScript Library for using viewer.filelabel.co in your application.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages