(other: ColorWidget)
| 130 | } |
| 131 | |
| 132 | eq(other: ColorWidget): boolean { |
| 133 | return ( |
| 134 | other.state.colorType === this.state.colorType && |
| 135 | other.color === this.color && |
| 136 | other.colorRaw === this.colorRaw && |
| 137 | other.state.from === this.state.from && |
| 138 | other.state.to === this.state.to && |
| 139 | (other.state.alpha || "") === (this.state.alpha || "") |
| 140 | ); |
| 141 | } |
| 142 | |
| 143 | toDOM(): HTMLElement { |
| 144 | const wrapper = document.createElement("span"); |
no outgoing calls
no test coverage detected