({ color, colorRaw, ...state }: ColorWidgetParams)
| 123 | colorRaw: string; |
| 124 | |
| 125 | constructor({ color, colorRaw, ...state }: ColorWidgetParams) { |
| 126 | super(); |
| 127 | this.state = { ...state, colorRaw }; // from, to, colorType, alpha, original text |
| 128 | this.color = color; // hex for input value |
| 129 | this.colorRaw = this.state.colorRaw; // original css color string |
| 130 | } |
| 131 | |
| 132 | eq(other: ColorWidget): boolean { |
| 133 | return ( |
nothing calls this directly
no outgoing calls
no test coverage detected