feat(application): add system appearance changed event to typings (#8034)

This commit is contained in:
Vasil Chimev
2019-11-06 12:07:34 +00:00
committed by Martin Yankov
parent 04c65392a2
commit 2a34368465
2 changed files with 22 additions and 1 deletions

View File

@ -52,6 +52,11 @@ export const lowMemoryEvent: string;
*/ */
export const orientationChangedEvent: string; export const orientationChangedEvent: string;
/**
* String value used when hooking to systemAppearanceChanged event.
*/
export const systemAppearanceChangedEvent: string;
/** /**
* Event data containing information for the application events. * Event data containing information for the application events.
*/ */

View File

@ -641,7 +641,7 @@ export module AnimationCurve {
} }
/** /**
* @deprecated use `UserInterfaceStyle` instead. * @deprecated use `SystemAppearance` instead.
* *
* Specifies the types of the status bar style. * Specifies the types of the status bar style.
*/ */
@ -657,8 +657,24 @@ export module StatusBarStyle {
export const dark: string; export const dark: string;
} }
/**
* Specifies the types of the system appearance.
*/
export module SystemAppearance {
/**
* The light system appearance.
*/
export const light: string;
/**
* The dark system appearance.
*/
export const dark: string;
}
/** /**
* @deprecated use `SystemAppearance` instead.
*
* Specifies the types of the user interface style. * Specifies the types of the user interface style.
*/ */
export module UserInterfaceStyle { export module UserInterfaceStyle {