Merge pull request #2297 from KevinBritten/docs/button-type-fix

2087 add type Element to documentation for custom ui buttons
This commit is contained in:
Ian Gilman 2023-02-17 13:57:33 -08:00 committed by GitHub
commit 9026c3a71d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -565,50 +565,50 @@
* viewing the first image and the 'next' button will wrap to the first * viewing the first image and the 'next' button will wrap to the first
* image when viewing the last image. * image when viewing the last image.
* *
* @property {String} zoomInButton *@property {String|Element} zoomInButton
* Set the id of the custom 'Zoom in' button to use. * Set the id or element of the custom 'Zoom in' button to use.
* This is useful to have a custom button anywhere in the web page.<br> * This is useful to have a custom button anywhere in the web page.<br>
* To only change the button images, consider using * To only change the button images, consider using
* {@link OpenSeadragon.Options.navImages} * {@link OpenSeadragon.Options.navImages}
* *
* @property {String} zoomOutButton * @property {String|Element} zoomOutButton
* Set the id of the custom 'Zoom out' button to use. * Set the id or element of the custom 'Zoom out' button to use.
* This is useful to have a custom button anywhere in the web page.<br> * This is useful to have a custom button anywhere in the web page.<br>
* To only change the button images, consider using * To only change the button images, consider using
* {@link OpenSeadragon.Options.navImages} * {@link OpenSeadragon.Options.navImages}
* *
* @property {String} homeButton * @property {String|Element} homeButton
* Set the id of the custom 'Go home' button to use. * Set the id or element of the custom 'Go home' button to use.
* This is useful to have a custom button anywhere in the web page.<br> * This is useful to have a custom button anywhere in the web page.<br>
* To only change the button images, consider using * To only change the button images, consider using
* {@link OpenSeadragon.Options.navImages} * {@link OpenSeadragon.Options.navImages}
* *
* @property {String} fullPageButton * @property {String|Element} fullPageButton
* Set the id of the custom 'Toggle full page' button to use. * Set the id or element of the custom 'Toggle full page' button to use.
* This is useful to have a custom button anywhere in the web page.<br> * This is useful to have a custom button anywhere in the web page.<br>
* To only change the button images, consider using * To only change the button images, consider using
* {@link OpenSeadragon.Options.navImages} * {@link OpenSeadragon.Options.navImages}
* *
* @property {String} rotateLeftButton * @property {String|Element} rotateLeftButton
* Set the id of the custom 'Rotate left' button to use. * Set the id or element of the custom 'Rotate left' button to use.
* This is useful to have a custom button anywhere in the web page.<br> * This is useful to have a custom button anywhere in the web page.<br>
* To only change the button images, consider using * To only change the button images, consider using
* {@link OpenSeadragon.Options.navImages} * {@link OpenSeadragon.Options.navImages}
* *
* @property {String} rotateRightButton * @property {String|Element} rotateRightButton
* Set the id of the custom 'Rotate right' button to use. * Set the id or element of the custom 'Rotate right' button to use.
* This is useful to have a custom button anywhere in the web page.<br> * This is useful to have a custom button anywhere in the web page.<br>
* To only change the button images, consider using * To only change the button images, consider using
* {@link OpenSeadragon.Options.navImages} * {@link OpenSeadragon.Options.navImages}
* *
* @property {String} previousButton * @property {String|Element} previousButton
* Set the id of the custom 'Previous page' button to use. * Set the id or element of the custom 'Previous page' button to use.
* This is useful to have a custom button anywhere in the web page.<br> * This is useful to have a custom button anywhere in the web page.<br>
* To only change the button images, consider using * To only change the button images, consider using
* {@link OpenSeadragon.Options.navImages} * {@link OpenSeadragon.Options.navImages}
* *
* @property {String} nextButton * @property {String|Element} nextButton
* Set the id of the custom 'Next page' button to use. * Set the id or element of the custom 'Next page' button to use.
* This is useful to have a custom button anywhere in the web page.<br> * This is useful to have a custom button anywhere in the web page.<br>
* To only change the button images, consider using * To only change the button images, consider using
* {@link OpenSeadragon.Options.navImages} * {@link OpenSeadragon.Options.navImages}