@zumer/snapdom 1.9.6-dev.2 → 1.9.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/dist/snapdom.js +353 -471
- package/dist/snapdom.min.js +3 -15
- package/dist/snapdom.min.mjs +3 -15
- package/dist/snapdom.mjs +232 -222
- package/package.json +1 -4
package/README.md
CHANGED
|
@@ -116,8 +116,8 @@ Returns an object with reusable export methods:
|
|
|
116
116
|
toRaw(): string;
|
|
117
117
|
toImg(): Promise<HTMLImageElement>;
|
|
118
118
|
toCanvas(): Promise<HTMLCanvasElement>;
|
|
119
|
-
toBlob(): Promise<Blob>;
|
|
120
|
-
toPng(): Promise<HTMLImageElement>;
|
|
119
|
+
toBlob(options?): Promise<Blob>;
|
|
120
|
+
toPng(options?): Promise<HTMLImageElement>;
|
|
121
121
|
toJpg(options?): Promise<HTMLImageElement>;
|
|
122
122
|
toWebp(options?): Promise<HTMLImageElement>;
|
|
123
123
|
download(options?): Promise<void>;
|
|
@@ -236,7 +236,6 @@ import { snapdom, preCache } from './snapdom.mjs';
|
|
|
236
236
|
**Options for `preCache()`:**
|
|
237
237
|
|
|
238
238
|
* `embedFonts` *(boolean, default: true)* — Inlines non-icon fonts during preload.
|
|
239
|
-
* `reset` *(boolean, default: false)* — Clears all existing internal caches.
|
|
240
239
|
* `useProxy` *(string)* — Proxy for handling CORS images as fallback.
|
|
241
240
|
|
|
242
241
|
|
|
@@ -359,6 +358,9 @@ For detailed contribution guidelines, please see [CONTRIBUTING](https://github.c
|
|
|
359
358
|
<a href="https://github.com/simon1uo" title="simon1uo"><img src="https://avatars.githubusercontent.com/u/60037549?v=4&s=100" style="border-radius:10px; width:60px; height:60px; object-fit:cover; margin:5px;" alt="simon1uo"/></a>
|
|
360
359
|
<a href="https://github.com/titoBouzout" title="titoBouzout"><img src="https://avatars.githubusercontent.com/u/64156?v=4&s=100" style="border-radius:10px; width:60px; height:60px; object-fit:cover; margin:5px;" alt="titoBouzout"/></a>
|
|
361
360
|
<a href="https://github.com/jhbae200" title="jhbae200"><img src="https://avatars.githubusercontent.com/u/20170610?v=4&s=100" style="border-radius:10px; width:60px; height:60px; object-fit:cover; margin:5px;" alt="jhbae200"/></a>
|
|
361
|
+
<a href="https://github.com/miusuncle" title="miusuncle"><img src="https://avatars.githubusercontent.com/u/7549857?v=4&s=100" style="border-radius:10px; width:60px; height:60px; object-fit:cover; margin:5px;" alt="miusuncle"/></a>
|
|
362
|
+
<a href="https://github.com/rbbydotdev" title="rbbydotdev"><img src="https://avatars.githubusercontent.com/u/101137670?v=4&s=100" style="border-radius:10px; width:60px; height:60px; object-fit:cover; margin:5px;" alt="rbbydotdev"/></a>
|
|
363
|
+
<a href="https://github.com/kohaiy" title="kohaiy"><img src="https://avatars.githubusercontent.com/u/15622127?v=4&s=100" style="border-radius:10px; width:60px; height:60px; object-fit:cover; margin:5px;" alt="kohaiy"/></a>
|
|
362
364
|
</p>
|
|
363
365
|
<!-- CONTRIBUTORS:END -->
|
|
364
366
|
|