update doc for $.Button

relates to #1080

 On branch issue-1080
 Changes to be committed:
	modified:   src/button.js
This commit is contained in:
leesei 2017-02-02 14:24:16 +08:00
parent 8df10f2177
commit 9d96c58eaf

View File

@ -61,7 +61,7 @@ $.ButtonState = {
* @memberof OpenSeadragon * @memberof OpenSeadragon
* @extends OpenSeadragon.EventSource * @extends OpenSeadragon.EventSource
* @param {Object} options * @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 * @param {String} [options.tooltip=null] Provides context help for the button when the
* user hovers over it. * user hovers over it.
* @param {String} [options.srcRest=null] URL of image to use in 'rest' state. * @param {String} [options.srcRest=null] URL of image to use in 'rest' state.