JSPM

  • Created
  • Published
  • Downloads 58684
  • Score
    100M100P100Q138696F
  • License MIT

A Collection of Color Pickers from Sketch, Photoshop, Chrome & more

Package Exports

  • ngx-color/chrome
  • ngx-color/github
  • ngx-color/photoshop
  • ngx-color/sketch

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 (ngx-color) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Angular color sketch preview

Angular Color


npm travis codecov greenkeeper


  • 13 Different Pickers - Sketch, Photoshop, Chrome and many more

  • Make Your Own - Use the building block components to make your own

Installation & Usage

npm install ngx-color --save

Include the Component

import
import { ColorSketchModule } from 'ngx-color/sketch';

@NgModule({
  imports: [
    ColorSketchModule, // added to imports
  ],
})
class YourModule {}
use
<color-sketch
  [color]="state"
  (onChangeComplete)="changeComplete($event)"
></color-sketch>

Others available

import { ColorAlphaModule } from 'ngx-color/alpha';
import { ColorBlockModule } from 'ngx-color/block';
import { ColorChromeModule } from 'ngx-color/chrome';
import { ColorCircleModule } from 'ngx-color/circle';
import { ColorCompactModule } from 'ngx-color/compact';
import { ColorGithubModule } from 'ngx-color/github';
import { ColorHueModule } from 'ngx-color/hue';
import { ColorMaterialModule } from 'ngx-color/material';
import { ColorPhotoshopModule } from 'ngx-color/photoshop';
import { ColorSketchModule } from 'ngx-color/sketch';
import { ColorSliderModule } from 'ngx-color/slider';
import { ColorSwatchesModule } from 'ngx-color/swatches';
import { ColorTwitterModule } from 'ngx-color/twitter';