feat:Aero add style property

This commit is contained in:
pengfei.zhou
2021-11-25 16:30:29 +08:00
committed by osborn
parent cc014a6061
commit f302592d11
13 changed files with 67 additions and 5 deletions

5
doric-js/index.d.ts vendored
View File

@@ -1121,6 +1121,11 @@ declare module 'doric/lib/src/widget/effect' {
width: number;
height: number;
};
/**
* Specify the area of the view is lighter or darker than the underlying view.
* If not set, the default is light.
*/
style?: "light" | "dark" | "extraLight";
}
export function blurEffect(views: View | View[], config?: Partial<BlurEffect>): BlurEffect;
export function aeroEffect(views: View | View[], config?: Partial<AeroEffect>): AeroEffect;