GitHub

您所在的位置:网站首页 pickerjs GitHub

GitHub

#GitHub| 来源: 网络整理| 查看: 265

iro.js

Modular, design-conscious color picker widget for JavaScript - with support for a bunch of color formats | iro.js.org

license version downloads minzip size no jQuery

Features | Demo | Installation | Usage | Documentation | Special Thanks | Forum

NOTE: this project is currently on hiatus until further notice, as working on open source projects is becoming unsustainable for the maintainer.

Features Work with colors in hex, RGB, HSV and HSL formats (plus kelvin temperatures!) in one simple, frictionless API Add multiple colors to the same color picker for selecting color harmonies and themes Create the perfect color picker from a selection of pre-built UI components All of iro.js can run from a single script - no extra CSS, images, or third-party libraries required! ~9kb minified and gzipped Licenced under MPL 2.0 - 100% free for personal and commercial use

Codepen Demos Basic introduction Multicolor Components / alternate layouts Custom handle SVGs

Installation Install with NPM npm install @jaames/iro --save

If you are using a module bundler like Webpack or Rollup, import iro.js into your project:

// Using ES6 module syntax import iro from '@jaames/iro'; // Using CommonJS modules const iro = require('@jaames/iro'); Using the jsDelivr CDN

When you manually include the library like this, iro.js will be made globally available on window.iro.

Download and host yourself

Development version Uncompressed, with source comments included. Intended for debugging.

Production version Minified and optimized version.

Then add it to the of your page with a tag:



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3