ng_color_picker 0.0.2 copy "ng_color_picker: ^0.0.2" to clipboard
ng_color_picker: ^0.0.2 copied to clipboard

Simple and lightweight color picker component for AngularDart

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
2
likes
40
pub points
0%
popularity

Publisher

unverified uploader

Simple and lightweight color picker component for AngularDart

Homepage

License

Apache-2.0 (LICENSE)

Dependencies

angular, angular_components, build, lib_colors, sass_builder

More

Packages that depend on ng_color_picker