Socket
Socket
Sign inDemoInstall

ng-eldeeb-image-picker

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-eldeeb-image-picker - npm Package Compare versions

Comparing version 16.1.1 to 16.1.2

ng-eldeeb-image-picker-16.1.2.tgz

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc