mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 19:26:42 +08:00
transparent known color added and parsing fixed
This commit is contained in:
@ -115,7 +115,7 @@ export class Color implements definition.Color {
|
||||
}
|
||||
|
||||
private _parseComponents() {
|
||||
if (!this._argb) {
|
||||
if (types.isUndefined(this._argb)) {
|
||||
throw new Error("Missing the ARGB numeric value");
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
export var AliceBlue = "#F0F8FF";
|
||||
export var Transparent = "#00000000";
|
||||
export var AliceBlue = "#F0F8FF";
|
||||
export var AntiqueWhite = "#FAEBD7";
|
||||
export var Aqua = "#00FFFF";
|
||||
export var Aquamarine = "#7FFFD4";
|
||||
|
Reference in New Issue
Block a user