JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q45809F
  • License MIT

canvas color picker

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

NPM version build status Test coverage node version npm download

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

npmcdn link

License

The MIT License (MIT)