Skip to content

Commit

Permalink
Update README.md (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
pramodsum authored Aug 24, 2017
1 parent 9ae3853 commit 886bd33
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/lib/viewers/image/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ At the default zoom level, clicking on the image will zoom in once. When zoomed

`tif, tiff`

## Options

| Option | Type | Description |
| --- | --- | --- |
| annotations | boolean | Optional. Whether annotations on content are shown. Defaults to false |

## Events
The image viewer fires the following events

Expand All @@ -90,7 +96,6 @@ The image viewer fires the following events
| pan | The preview is panning ||
| panstart | Panning starts ||
| panend | Panning ends ||
| printsuccess | An attempt to print triggered successfully ||

## Methods

Expand All @@ -102,5 +107,4 @@ The following methods are available for the multi-page image viewer.
| previousPage | Navigates to the previous page ||
| nextPage | Navigates to the next page ||
| setPage | Navigates to a given page | {number} page number |
| print | Prints the image ||
| toggleFullscreen | Toggles fullscreen mode ||

0 comments on commit 886bd33

Please sign in to comment.