Skip to content

Commit

Permalink
Chore: Update documentation to include disabling presentation viewer (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Press authored Dec 19, 2017
1 parent 2028939 commit 0c47805
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 @@ -76,7 +76,7 @@ The presentation viewer renders previews of powerpoint files.

## Behavior

The presentation viewer remembers which slide you were viewing upon closing the preview. The next time that file is opened, you will immediately be brought to that page. Scrolling the mouse up and down, or swiping up and down on mobile will transition between slides. Zooming in or out will increase or decrease the size of the slide respectively. If the zoom level causes the content to overflow, scrolling the mouse will allow you to scroll around the slide. To return to normal scrolling behavior, the user must zoom out until the overflow is removed.
The presentation viewer remembers which slide you were viewing upon closing the preview. The next time that file is opened, you will immediately be brought to that page. Scrolling the mouse up and down, or swiping up and down on mobile will transition between slides. Zooming in or out will increase or decrease the size of the slide respectively. If the zoom level causes the content to overflow, scrolling the mouse will allow you to scroll around the slide. To return to normal scrolling behavior, the user must zoom out until the overflow is removed. In order to disable the presentation viewer, call Preview's `disableViewers()` method before show like so: `preview.disableViewers(['Presentation']);`

### Controls:

Expand Down

0 comments on commit 0c47805

Please sign in to comment.