Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (20 sloc) 1.23 KB

UI5Lab Library PDFViewer

The PDFViewer is a custom UI5 control that enables you to view PDF's by using a base64 data uri instead of a file URL. This can be useful in case you want to preview a PDF that you want to upload without uploading it.

Demo

https://htmlpreview.github.io/?https://github.com/lemaiwo/UI5LabLibraryPDFViewer/blob/master/test/ui5lab/wl/pdf/demo/index.html

Usage

Include the library in your project

  1. Include the library-preload.js in your project

  1. Configure the manifest.json

  1. Use the PDF Control

Build

npm install grunt build

For WebIDE Use Package and Grunt with WebIDE extension (remove webide out of the filename)

  1. import in the SAP Web IDE
  2. Right click on the project --> Build
You can’t perform that action at this time.