viewer toolbar events (#2543)

This commit is contained in:
Denys Vuika
2017-10-25 12:33:56 +01:00
committed by Eugenio Romano
parent 52bba291de
commit bb4c6365b1
4 changed files with 184 additions and 11 deletions

View File

@@ -57,6 +57,15 @@ Using with file url:
| allowInfoDrawer | boolean |false | Toogle info drawer feature |
| showInfoDrawer | boolean | false | Toggles info drawer visibility. Requires `allowInfoDrawer` to be set to `true`. |
## Events
| Name | Argument Type | Cancellable | Description |
| --- | --- | --- | --- |
| goBack | any | Yes | Raised when user clicks the 'Back' button. |
| download | any | Yes | Raised when user clicks the 'Download' button. |
| print | any | Yes | Raised when user clicks the 'Print' button. |
| share | any | Yes | Raised when user clicks the 'Share' button. |
## Details
### Supported file formats