GitToTheHub commented on issue #1949:
URL: 
https://github.com/apache/cordova-android/issues/1949#issuecomment-4600216795

   > This is not true because it's valid to call `setBackgroundColor` with 
**any valid CSS colour** that the browser understands. All of these are allowed 
and equivalent:
   > 
   > * `setBackgroundColor("red")`
   > * `setBackgroundColor("#ff0000")`
   > * `setBackgroundColor("rgb(255, 0, 0)")`
   > * `setBackgroundColor("hsl(0, 100%, 50%)")`
   > * `setBackgroundColor("#ff0000ff")`
   > * `setBackgroundColor("#f00")`
   > * `setBackgroundColor("oklab(0.5 0.4 0.4)")`
   
   I don't understand why this is the case for a custom created method on the 
statusbar API. Can you explain this maybe?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to