Skip to content

Commit

Permalink
Docs: Update document viewer event name
Browse files Browse the repository at this point in the history
`pagerender` was incorrectly documented as `pagerendered`
  • Loading branch information
tonyjin authored Jul 15, 2017
1 parent 0cfcaf7 commit eae3c74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/viewers/doc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ The document viewer fires the following events
| reload | The preview reloads ||
| resize | The preview resizes | 1. {number} **height**: window height 2. {number} **width**: window width |
| zoom | The preview zooms in or out | 1. {number} **newScale**: new zoom value 2. {boolean} **canZoomIn**: true if the viewer can zoom in more 3. {boolean} **canZoomOut**: true if the viewer can zoom out more |
| pagerendered | A page is rendered | {number} page number of rendered page |
| pagerender | A page is rendered | {number} page number of rendered page |
| pagefocus | A page is visible | {number} page number of focused page |
| scrollstart | The viewer starts to scroll | 1. {number} **scrollTop**: number of pixels scrolled from top of viewport 2. {number} **scrollLeft**: number of pixels scrolled from left of viewport |
| scrollend | The viewer stops scrolling | 1. {number} **scrollTop**: number of pixels scrolled from top of viewport 2. {number} **scrollLeft**: number of pixels scrolled from left of viewport |
Expand Down

0 comments on commit eae3c74

Please sign in to comment.