The Spectrum Colorpicker with Vanilla JS
npm install spectrum-vanillaBased on popular Spectrum2 package.
This version rewrote with TypeScript and drop IE support.
Created by @bgrins and @seballot, modified by @asika32764
Head over to the Documentation Website for more information.
``html
`
Spectrum is registered as package with npm. It can be installed with:
`shell`
npm install spectrum-vanilla
`html
`
If you are able to translate the text in the UI to another language, please do! You can do so by either filing a pull request or opening an issue with the translation. The existing languages are listed at: https://github.com/asika32764/spectrum-vanilla/tree/master/src/i18n
I'm just a maintainer, if you need some new features or found a bug, feel free to open a Pull-Request.
`shell`
yarn build # build uncompressed JS
yarn watch # build and watch
yarn build:css # build css files
More actions please see package.json
Modify test/tests.js and open test/index.html` to check the test result.