feat:Image add imageFilePath

This commit is contained in:
pengfei.zhou
2021-08-05 17:42:45 +08:00
committed by osborn
parent 57cfdd38e1
commit bfa865fe5d
11 changed files with 86 additions and 20 deletions

View File

@@ -7,6 +7,10 @@ export declare enum ScaleType {
}
export declare class Image extends View {
imageUrl?: string;
/**
* Read image from local file system.
*/
imageFilePath?: string;
/**
* Read image from local path
* For android,it based on assets dir.

View File

@@ -37,6 +37,10 @@ __decorate([
Property,
__metadata("design:type", String)
], Image.prototype, "imageUrl", void 0);
__decorate([
Property,
__metadata("design:type", String)
], Image.prototype, "imageFilePath", void 0);
__decorate([
Property,
__metadata("design:type", String)