feat:Image add imageFilePath
This commit is contained in:
4
doric-js/lib/src/widget/image.d.ts
vendored
4
doric-js/lib/src/widget/image.d.ts
vendored
@@ -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.
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user