ng-eldeeb-image-picker
Advanced tools
Comparing version 16.1.1 to 16.1.2
{ | ||
"name": "ng-eldeeb-image-picker", | ||
"description": "This is image picker component made with ❤️", | ||
"version": "16.1.1", | ||
"version": "16.1.2", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "image picker", |
@@ -42,2 +42,46 @@ # Eldeeb Image Picker | ||
### angular.json (assets) | ||
```json | ||
"architect": { | ||
"build": { | ||
"builder": "@angular-devkit/build-angular:browser", | ||
"options": { | ||
"outputPath": "dist", | ||
"index": "src/index.html", | ||
"main": "src/main.ts", | ||
"polyfills": ["zone.js"], | ||
"tsConfig": "tsconfig.app.json", | ||
"assets": [ | ||
"src/favicon.ico", | ||
{ | ||
"glob": "**/*", | ||
"input": "./node_modules/ng-eldeeb-image-picker/assets", | ||
"output": "/assets/" | ||
} | ||
], | ||
"styles": [], | ||
"scripts": [], | ||
}, | ||
} | ||
} | ||
``` | ||
### 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); | ||
}; | ||
} | ||
``` | ||
### Simple case | ||
@@ -131,5 +175,5 @@ ```html | ||
| `Input() deleteText` | `string` | Delete button label. | | ||
| `Input() editIcon` | `string` | Edit button icon (google-fonts). | | ||
| `Input() deleteIcon` | `string` | Delete button icon (google-fonts). | | ||
| `Input() downloadIcon` | `string` | Download button icon (google-fonts). | | ||
| `Input() editIcon` | `string` | Edit button icon (img-path). | | ||
| `Input() deleteIcon` | `string` | Delete button icon (img-path). | | ||
| `Input() downloadIcon` | `string` | Download button icon (img-path). | | ||
| `Output() error` | `EventEmitter<ImagePickerError>` | On error occurred. | | ||
@@ -136,0 +180,0 @@ |
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
140287
188
0