mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
feat: add UserInterfaceStyle enum
This commit is contained in:
22
tns-core-modules/ui/enums/enums.d.ts
vendored
22
tns-core-modules/ui/enums/enums.d.ts
vendored
@@ -641,8 +641,10 @@ export module AnimationCurve {
|
||||
}
|
||||
|
||||
/**
|
||||
* Specifies the types of the status bar style.
|
||||
*/
|
||||
* @deprecated use `UserInterfaceStyle` instead.
|
||||
*
|
||||
* Specifies the types of the status bar style.
|
||||
*/
|
||||
export module StatusBarStyle {
|
||||
/**
|
||||
* The light style of the status bar - light background with dark letters.
|
||||
@@ -654,3 +656,19 @@ export module StatusBarStyle {
|
||||
*/
|
||||
export const dark: string;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Specifies the types of the user interface style.
|
||||
*/
|
||||
export module UserInterfaceStyle {
|
||||
/**
|
||||
* The light style of the user interface.
|
||||
*/
|
||||
export const light: string;
|
||||
|
||||
/**
|
||||
* The dark style of the user interface.
|
||||
*/
|
||||
export const dark: string;
|
||||
}
|
||||
|
||||
@@ -187,3 +187,8 @@ export module StatusBarStyle {
|
||||
export const light = "light";
|
||||
export const dark = "dark";
|
||||
}
|
||||
|
||||
export module UserInterfaceStyle {
|
||||
export const light = "light";
|
||||
export const dark = "dark";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user