* Gets the CSS color of the current options object, accounting for the * `colorMap`.
()
| 5071 | * `colorMap`. |
| 5072 | */ |
| 5073 | getColor() { |
| 5074 | if (this.phantom) { |
| 5075 | return "transparent"; |
| 5076 | } else if (this.color != null && Options.colorMap.hasOwnProperty(this.color)) { |
| 5077 | return Options.colorMap[this.color]; |
| 5078 | } else { |
| 5079 | return this.color; |
| 5080 | } |
| 5081 | } |
| 5082 | |
| 5083 | } |
| 5084 |
no outgoing calls
no test coverage detected