Skip to content

jodinathan/ng_color_picker

Repository files navigation

Live example

Visit the live example hosted by github-pages

Usage

import 'package:angular/angular.dart';
import 'package:ng_color_picker/ng_color_picker.dart';

@Component(
  selector: 'ng-color-picker-example',
  template: r'''
    <div>Chosen color: {{css}}</div>
      <color-picker [(css)]="css"></color-picker>
    </div>
  ''',
  directives: [
    coreDirectives,
    ColorPickerComponent,
  ],
  changeDetection: ChangeDetectionStrategy.OnPush,
)
class AppComponent {
  String css = 'rgba(85, 73, 172, 1)';
}
 

Todo

  • CMYK
  • Presets

About

Simple color picker for AngularDart

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published