js: add stretchInset in image
This commit is contained in:
@@ -1786,6 +1786,10 @@ var Image = /** @class */ (function (_super) {
|
||||
Property,
|
||||
__metadata$4("design:type", Function)
|
||||
], Image.prototype, "loadCallback", void 0);
|
||||
__decorate$4([
|
||||
Property,
|
||||
__metadata$4("design:type", Object)
|
||||
], Image.prototype, "stretchInset", void 0);
|
||||
return Image;
|
||||
}(View));
|
||||
function image(config) {
|
||||
|
@@ -1336,6 +1336,10 @@ __decorate$4([
|
||||
Property,
|
||||
__metadata$4("design:type", Function)
|
||||
], Image.prototype, "loadCallback", void 0);
|
||||
__decorate$4([
|
||||
Property,
|
||||
__metadata$4("design:type", Object)
|
||||
], Image.prototype, "stretchInset", void 0);
|
||||
function image(config) {
|
||||
const ret = new Image;
|
||||
ret.layoutConfig = layoutConfig().fit();
|
||||
|
@@ -2795,6 +2795,10 @@ __decorate$4([
|
||||
Property,
|
||||
__metadata$4("design:type", Function)
|
||||
], Image.prototype, "loadCallback", void 0);
|
||||
__decorate$4([
|
||||
Property,
|
||||
__metadata$4("design:type", Object)
|
||||
], Image.prototype, "stretchInset", void 0);
|
||||
function image(config) {
|
||||
const ret = new Image;
|
||||
ret.layoutConfig = layoutConfig().fit();
|
||||
|
Reference in New Issue
Block a user