Skip to content

Commit

Permalink
version up to v5.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Wonday committed Oct 15, 2018
1 parent 25ee388 commit e05ac98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ A4. Expo does not support native module. you can read more expo caveats [`here`]

### ChangeLog

v5.0.7
1. onLoadComplete return table of contents
2. delete tmp file after downloaded

v5.0.6
1. add accessible to PdfPageView
2. restore podspec
Expand Down Expand Up @@ -191,7 +195,7 @@ const styles = StyleSheet.create({
| enableRTL | bool | false | scroll page as "page3, page2, page1" ||| 5.0.1 |
| enableAnnotationRendering | bool | true | enable rendering annotation, notice:iOS only support initial setting,not support realtime changing ||| 5.0.3 |
| onLoadProgress | function(percent) | null | callback when loading, return loading progress (0-1) ||| <3.0 |
| onLoadComplete | function(numberOfPages, path, {width, height}) | null | callback when pdf load completed, return total page count and pdf local/cache path ||| <3.0 |
| onLoadComplete | function(numberOfPages, path, {width, height}, tableContents) | null | callback when pdf load completed, return total page count, pdf local/cache path, {width,height} and table of contents ||| <3.0 |
| onPageChanged | function(page,numberOfPages) | null | callback when page changed ,return current page and total page count ||| <3.0 |
| onError | function(error) | null | callback when error happened ||| <3.0 |
| onPageSingleTap | function(page) | null | callback when page was single tapped ||| 3.0 |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-pdf",
"version": "5.0.6",
"version": "5.0.7",
"description": "A react native PDF view component",
"main": "index.js",
"typings": "./index.d.ts",
Expand Down

0 comments on commit e05ac98

Please sign in to comment.