Color Selector For Angular 5+

Author: bytelabsco
Official Page: Go to website
Publish Date: December 9, 2017
License: MIT

Description:

ngx-color-selector provides a simple interface for selecting from a predefined set of colors.

Installation:

# NPM
$ npm install @bytelabsco/ngx-color-selector --save

Usage:

import { NgModule } from '@angular/core';
import { BytelabsColorSelectorModule } from '@bytelabsco/ngx-color-selector';

@NgModule({
  imports: [
  BytelabsColorSelectorModule
  ],
})
export class AppModule {}
<bytelabs-color-selector [(color)]="currentColor"></bytelabs-color-selector>

Default options.

palette?: IColor[];
direction?: PaletteDirection;
itemSize?: ISwatchSize;
itemsPer?: number;
position?: PalettePosition;

Preview:

Color Selector For Angular 5+


You Might Be Interested In:

Add Comment