Actions can be added to buttons. An action is executed when a button is clicked.
| Name | Description | Example |
|---|---|---|
| page:<pageNumber> | Flips to a specified page number | <button action="page:21" ... /> |
| pagePrevious | Flips to the previous page | <button action="pagePrevious" ... /> |
| pageNext | Flips to the next page | <button action="pageNext" ... /> |
| pageFirst | Flips to the first page | <button action="pageFirst" ... /> |
| pageLast | Flips to the last page | <button action="pageLast" ... /> |
| index | Opens the index view | <button action="index" ... /> |
| fullScreen | Switches the Viewer to fullscreen mode | <button action="fullscreen" ... /> |
| search | Provides options to search the document | <button action="search" ... /> |
| share | Provides options to share the document | <button action="share" ... /> |
| embed | Opens an embed wizard allowing the user to embed the document on their own site | <button action="embed" ... /> |
| Provides options to print the current pages | <button action="print" ... /> | |
| openUrl:<url> | Opens the specified URL in a new browser window | <button action="openUrl:http://www.site.com/" ... /> |
| viewMode:[<mode>] | Changes the view mode. There are 3 modes: magazine, presentation, and paper. If no mode is specified, the viewer displays a drop-down menu showing the available modes. | <button action="viewMode" ... /> <button action="viewMode:presentation" ... /> |
Copyright © 2009 Issuu Inc. All rights reserved.