Package Exports
- ngx-colors
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-colors) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
ngx-colors
Beautiful Angular component for selecting a color from a color palette, a Color Picker (Hue, Lightness, Alpha sliders) or through text input(hex, rgba, hsla)
Demo
Preview
Installation
Npm
npm install @angular/animations
Npm
npm install ngx-colors
Usage
Load the module for your app:
import { NgxColorsModule } from 'ngx-colors';
@NgModule({
...
imports: [
...
NgxColorsModule
]
})
Use it in your HTML template:
<ngx-colors ngx-colors-trigger [(ngModel)]="color"></ngx-colors>