ng-eldeeb-image-picker
Advanced tools
Comparing version 16.1.2 to 16.1.3
import * as i0 from "@angular/core"; | ||
import * as i1 from "./components/image-picker/image-picker.component"; | ||
import * as i2 from "@angular/material/icon"; | ||
import * as i3 from "@angular/common"; | ||
import * as i4 from "@angular/common/http"; | ||
import * as i5 from "@angular/forms"; | ||
import * as i2 from "@angular/common"; | ||
import * as i3 from "@angular/common/http"; | ||
import * as i4 from "@angular/forms"; | ||
export declare class ImagePickerModule { | ||
static ɵfac: i0.ɵɵFactoryDeclaration<ImagePickerModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<ImagePickerModule, [typeof i1.ImagePickerComponent], [typeof i2.MatIconModule, typeof i3.CommonModule, typeof i4.HttpClientModule, typeof i5.FormsModule, typeof i5.ReactiveFormsModule], [typeof i1.ImagePickerComponent, typeof i2.MatIconModule]>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<ImagePickerModule, [typeof i1.ImagePickerComponent], [typeof i2.CommonModule, typeof i3.HttpClientModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule], [typeof i1.ImagePickerComponent]>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<ImagePickerModule>; | ||
} |
{ | ||
"name": "ng-eldeeb-image-picker", | ||
"description": "This is image picker component made with ❤️", | ||
"version": "16.1.2", | ||
"version": "16.1.3", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "image picker", |
@@ -25,20 +25,3 @@ # Eldeeb Image Picker | ||
## Usage/Examples | ||
### App Component Ts | ||
```js | ||
export class AppComponent implements OnInit { | ||
public readonly imgPicker:FormControl<string | File | null>= new FormControl(); | ||
public ngOnInit(): void { | ||
this.imgPicker.valueChanges.subscribe(console.log); | ||
} | ||
public onImageError = ($event: ImagePickerError): void => { | ||
console.log($event); | ||
}; | ||
} | ||
``` | ||
### angular.json (assets) | ||
## angular.json (assets) | ||
```json | ||
@@ -70,3 +53,20 @@ "architect": { | ||
## Usage/Examples | ||
### App Component Ts | ||
```js | ||
export class AppComponent implements OnInit { | ||
public readonly imgPicker:FormControl<string | File | null>= new FormControl(); | ||
public ngOnInit(): void { | ||
this.imgPicker.valueChanges.subscribe(console.log); | ||
} | ||
public onImageError = ($event: ImagePickerError): void => { | ||
console.log($event); | ||
}; | ||
} | ||
``` | ||
### App Component Ts | ||
@@ -73,0 +73,0 @@ ```js |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
138986
728