Package Exports
- canvas-color
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (canvas-color) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
canvas-color
canvas color picker
Usage
new CanvasColorPicker({
image: 'https://avatars2.githubusercontent.com/u/9263023?v=4&s=400',
size: 40,
radius: 1.2,
onSuccess: function(e) {
// red green blue
console.log(e);
}
});
CDN
License
The MIT License (MIT)