在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:bgrins/spectrum开源软件地址:https://github.com/bgrins/spectrum开源编程语言:JavaScript 84.2%开源软件介绍:SpectrumThe No Hassle ColorpickerSee the demo and docs: http://bgrins.github.io/spectrum. I wanted a colorpicker that didn't require images, and that had an API that made sense to me as a developer who has worked with color in a number of applications. I had tried a number of existing plugins, but decided to try and make a smaller, simpler one. I started using canvas, then switched to CSS gradients, since it turned out to be easier to manage, and provided better cross browser support. Basic UsageHead over to the docs for more information. There is a visual demo of the different options hosted at: http://bgrins.github.io/spectrum.
npmSpectrum is registered as package with npm. It can be installed with:
BowerSpectrum is registered as a package with Bower, so it can be pulled down using:
Using spectrum with a CDNCDN provided by cdnjs
Continuous IntegrationVisit https://travis-ci.org/bgrins/spectrum to view the status of the automated tests. Building Spectrum LocallyIf you'd like to download and use the plugin, head over to http://bgrins.github.io/spectrum/ and click the 'Download Zip' button. If you'd like to run the development version, spectrum uses Grunt to automate the testing, linting, and building. Head over to http://gruntjs.com/getting-started for more information. First, clone the repository, then run:
InternationalizationIf 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/bgrins/spectrum/tree/master/i18n. For an example, see the Dutch translation. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论