Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@

- Sdk constraint
- Doc on component properties

## 1.0.0

- refactoring so that the behavior is similar to CorelDraw and Photoshop and migration to angular 8 and dart 3.2, removal of dependencies on outdated packages and angular_components
File renamed without changes.
File renamed without changes.
59 changes: 0 additions & 59 deletions example/lib/app_component.dart

This file was deleted.

File renamed without changes.
15 changes: 15 additions & 0 deletions example/lib/src/app_component.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import 'package:ngdart/angular.dart';
import 'package:ng_color_picker/ng_color_picker.dart';

@Component(
selector: 'my-app',
templateUrl: 'app_component.html',
directives: [
coreDirectives,
ColorPickerComponent,
],
styleUrls: ['app_component.css'],
)
class AppComponent {
String css = 'rgba(85, 73, 172, 1)';
}
11 changes: 11 additions & 0 deletions example/lib/src/app_component.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<div class="css">Chosen color: {{css}}</div>
<div class="input">
<color-picker [(css)]="css"></color-picker>

</div>
<hr />
<div class="desc">
Simple color picker for AngularDart.
<a href="https://github.com/jodinathan/ng_color_picker">GitHub</a>
<a href="https://pub.dev/packages/ng_color_picker">Pub</a>
</div>
11 changes: 0 additions & 11 deletions example/main.dart

This file was deleted.

Loading