Skip to content

Commit 98242b4

Browse files
author
Jelte Lagendijk
committed
Update version number, fixing issue #8
1 parent 31ec5ef commit 98242b4

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,8 @@ The widget tries to display a document inside a form, however it might fail to d
1515
## Properties
1616

1717
* `Title` - String attribute of which the contents will be set in the header.
18-
* `Show header` - Determines whether or not a header will be rendered.
18+
* `Show header` - Determines whether or not a header will be rendered.
19+
20+
## PDFJS support
21+
22+
In the Modeler there is the option `Use PDF js`. This will take over the rendering of the PDF, because native rendering is not supported on Android. That is why we include [PDF.js](https://mozilla.github.io/pdf.js/), created by Mozilla (PDF.js is actually a part of Firefox). Make sure the documents you are trying to view are PDF files, otherwise the widget will fail to show the document. Use this option if you are having trouble viewing the documents on mobile devices for example.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "FileDocumentViewer",
3-
"version": "2.1.1",
3+
"version": "2.2.0",
44
"description": "This widget lets you view file documents.",
55
"license": "",
66
"author": "",
@@ -34,4 +34,4 @@
3434
"scripts": {
3535
"test": "grunt test"
3636
}
37-
}
37+
}

src/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<package xmlns="http://www.mendix.com/package/1.0/">
3-
<clientModule name="FileDocumentViewer" version="2.1.1" xmlns="http://www.mendix.com/clientModule/1.0/">
3+
<clientModule name="FileDocumentViewer" version="2.2.0" xmlns="http://www.mendix.com/clientModule/1.0/">
44
<widgetFiles>
55
<widgetFile path="FileDocumentViewer/FileDocumentViewer.xml"/>
66
</widgetFiles>
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)