Merge pull request #1120 from leesei/issue-1080

update doc for `$.Button`
This commit is contained in:
Ian Gilman 2017-02-02 14:27:10 -08:00 committed by GitHub
commit 7b7672ef96

View File

@ -61,7 +61,7 @@ $.ButtonState = {
* @memberof OpenSeadragon
* @extends OpenSeadragon.EventSource
* @param {Object} options
* @param {Element} [options.element=null] Element to use as the button. If not specified, an HTML <button> element is created.
* @param {Element} [options.element=null] Element to use as the button. If not specified, an HTML <div> element is created.
* @param {String} [options.tooltip=null] Provides context help for the button when the
* user hovers over it.
* @param {String} [options.srcRest=null] URL of image to use in 'rest' state.