fw-webbuilder 1.1.199 → 1.1.201
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/fesm2022/fw-webbuilder.mjs +1 -1
- package/index.d.ts +5 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2226,6 +2226,11 @@ declare class WbImage implements OnInit {
|
|
|
2226
2226
|
conditionDisplay(): any;
|
|
2227
2227
|
openManageImgs(): void;
|
|
2228
2228
|
generateSrcset(url: string | null | undefined): string | null;
|
|
2229
|
+
/**
|
|
2230
|
+
* Tuyệt chiêu: Trả về link ảnh đã resize làm fallback cho [src]
|
|
2231
|
+
* Thay vì để [src] là ảnh gốc 10MB, ta để nó là bản 1000px
|
|
2232
|
+
*/
|
|
2233
|
+
getOptimizedSrc(): string;
|
|
2229
2234
|
getSizes(): string;
|
|
2230
2235
|
static ɵfac: i0.ɵɵFactoryDeclaration<WbImage, never>;
|
|
2231
2236
|
static ɵcmp: i0.ɵɵComponentDeclaration<WbImage, "wb-image", never, { "data": { "alias": "data"; "required": false; }; "device": { "alias": "device"; "required": false; }; "class": { "alias": "class"; "required": false; }; "config": { "alias": "config"; "required": false; }; "animation": { "alias": "animation"; "required": false; }; "type": { "alias": "type"; "required": false; }; "isClone": { "alias": "isClone"; "required": false; }; "product": { "alias": "product"; "required": false; }; }, {}, never, never, true, never>;
|