feat: fix typo

This commit is contained in:
pengfei.zhou
2021-11-25 12:00:58 +08:00
committed by osborn
parent 3b901cae90
commit 62a8357d77
13 changed files with 257 additions and 8 deletions

View File

@@ -4263,6 +4263,12 @@ __decorate([
Property,
__metadata("design:type", Number)
], BlurEffect.prototype, "radius", void 0);
class AeroEffect extends Stack {
}
__decorate([
Property,
__metadata("design:type", Object)
], AeroEffect.prototype, "effectiveRect", void 0);
function blurEffect(views, config) {
const ret = new BlurEffect;
ret.layoutConfig = layoutConfig().fit();
@@ -4279,6 +4285,22 @@ function blurEffect(views, config) {
}
return ret;
}
function aeroEffect(views, config) {
const ret = new AeroEffect;
ret.layoutConfig = layoutConfig().fit();
if (views instanceof View) {
ret.addChild(views);
}
else {
views.forEach(e => {
ret.addChild(e);
});
}
if (config) {
ret.apply(config);
}
return ret;
}
function modal(context) {
return {
@@ -5169,6 +5191,7 @@ global$1.nativeEmpty = () => {
}, 0);
};
exports.AeroEffect = AeroEffect;
exports.AlphaAnimation = AlphaAnimation;
exports.AnimationSet = AnimationSet;
exports.AssetResource = AssetResource;
@@ -5236,6 +5259,7 @@ exports.View = View;
exports.ViewComponent = ViewComponent;
exports.ViewHolder = ViewHolder;
exports.ViewModel = ViewModel;
exports.aeroEffect = aeroEffect;
exports.animate = animate;
exports.blurEffect = blurEffect;
exports.coordinator = coordinator;