Fix, change set supported format example

This commit is contained in:
Richard Benjamin Allen 2024-01-25 16:47:51 +00:00
parent 4e9134f66a
commit 362a060512

View File

@ -2613,8 +2613,8 @@ function OpenSeadragon( options ){
* </code></pre>
* @function
* @example
* // sets webp as supported and png as unsupported
* setImageFormatsSupported({webp: true, png: false});
* // sets bmp as supported and png as unsupported
* setImageFormatsSupported({bmp: true, png: false});
* @param {Object} formats An object containing format extensions as
* keys and booleans as values.
*/