js: add base64 for placeholder & error in image
This commit is contained in:
2
doric-js/lib/src/widget/image.d.ts
vendored
2
doric-js/lib/src/widget/image.d.ts
vendored
@@ -27,6 +27,7 @@ export declare class Image extends View {
|
||||
* Local file name
|
||||
*/
|
||||
placeHolderImage?: string;
|
||||
placeHolderImageBase64?: string;
|
||||
/**
|
||||
* Display while image is loading
|
||||
* Color
|
||||
@@ -38,6 +39,7 @@ export declare class Image extends View {
|
||||
* It can be file name in local path
|
||||
*/
|
||||
errorImage?: string;
|
||||
errorImageBase64?: string;
|
||||
/**
|
||||
* Display while image is failed to load
|
||||
* Color
|
||||
|
@@ -61,6 +61,10 @@ __decorate([
|
||||
Property,
|
||||
__metadata("design:type", String)
|
||||
], Image.prototype, "placeHolderImage", void 0);
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", String)
|
||||
], Image.prototype, "placeHolderImageBase64", void 0);
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", Color
|
||||
@@ -74,6 +78,10 @@ __decorate([
|
||||
Property,
|
||||
__metadata("design:type", String)
|
||||
], Image.prototype, "errorImage", void 0);
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", String)
|
||||
], Image.prototype, "errorImageBase64", void 0);
|
||||
__decorate([
|
||||
Property,
|
||||
__metadata("design:type", Color)
|
||||
|
Reference in New Issue
Block a user