@zumer/snapdom 2.7.0 → 2.9.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zumer/snapdom",
3
- "version": "2.7.0",
3
+ "version": "2.9.0",
4
4
  "description": "snapDOM captures HTML elements to images with exceptional speed and accuracy.",
5
5
  "type": "module",
6
6
  "main": "./dist/snapdom.js",
@@ -109,6 +109,19 @@ export interface SnapdomOptions {
109
109
  /** Show placeholders when resources are missing. Default true. */
110
110
  placeholders?: boolean;
111
111
 
112
+ /**
113
+ * Resolve lazy `<picture>` placeholders / `data-src` patterns before clone (default true).
114
+ * Set false to skip; register the `picture-resolver` plugin explicitly if you need overrides while core is off.
115
+ */
116
+ resolvePicturePlaceholders?: boolean;
117
+ /** Fine-tune the built-in picture/lazy resolver (timeout, concurrency, etc.). */
118
+ pictureResolver?: {
119
+ timeout?: number;
120
+ concurrency?: number;
121
+ resolveLazySrc?: boolean;
122
+ silent?: boolean;
123
+ };
124
+
112
125
  /** Arbitrary plugin configuration at call-site (see PluginUse). */
113
126
  plugins?: PluginUse[];
114
127
  }