When I used $(dom).spectrum('set', rgbaColorString) assignment, I found that Alpha did not display correctly.
I see the source code using tinycolor can be correctly assigned, and tinycolor is quite easy to use.
I was going to get the constructor for $(dom).spectrum('get').constructor, but found that the protype was overridden. Why not put out the constructor for tinycolor?
When I used $(dom).spectrum('set', rgbaColorString) assignment, I found that Alpha did not display correctly. I see the source code using tinycolor can be correctly assigned, and tinycolor is quite easy to use. I was going to get the constructor for $(dom).spectrum('get').constructor, but found that the protype was overridden. Why not put out the constructor for tinycolor?