js: add base64 for placeholder & error in image

This commit is contained in:
王劲鹏
2020-05-11 11:18:30 +08:00
committed by osborn
parent 9759eac38b
commit dabd53a1f5
9 changed files with 51 additions and 1 deletions

View File

@@ -57,6 +57,9 @@ export class Image extends View {
*/
@Property
placeHolderImage?: string
@Property
placeHolderImageBase64?: string
/**
* Display while image is loading
* Color
@@ -70,6 +73,9 @@ export class Image extends View {
*/
@Property
errorImage?: string
@Property
errorImageBase64?: string
/**
* Display while image is failed to load
* Color