@Sorskoot , . , ( ):
(,
)
var s = Windows.UI.ViewManagement.StatusBar.getForCurrentView();
s.showAsync();
,
s.backgroundColor = 'red';
s.backgroundColor = '#A65959';
, :
0x800a13ec - JavaScript runtime error: Could not convert object to struct: object missing expected property 'a'
, s.backgroundColor
HTML, WinRT, ""
WinRT, HTML/JS.
().
bg .
1.0, .
TL; DR;
s.backgroundOpacity = 0.99;
s.backgroundColor = Windows.UI.ColorHelper.fromArgb(255, 0xA6, 0x59, 0x59);
s.foregroundColor = Windows.UI.Colors.lightGray;
WinRT. ,
0-255 . s.backgroundOpacity
float in range [0..1] >:o
Windows.UI.Colors, mind
camelCasing (, lightGray), HTML/JS)