Skip to content

Commit 32b4d93

Browse files
authored
ImageBitmapLoader: Improve docs. (#33379)
1 parent 3612474 commit 32b4d93

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/loaders/ImageBitmapLoader.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ class ImageBitmapLoader extends Loader {
8686
* Sets the given loader options. The structure of the object must match the `options` parameter of
8787
* [createImageBitmap](https://developer.mozilla.org/en-US/docs/Web/API/Window/createImageBitmap).
8888
*
89+
* Note: When caching is enabled, the cache key is based on the URL only. Loading the same URL with
90+
* different options will return the cached result of the first request.
91+
*
8992
* @param {Object} options - The loader options to set.
9093
* @return {ImageBitmapLoader} A reference to this image bitmap loader.
9194
*/

0 commit comments

Comments
 (0)