Skip to content

Commit

Permalink
fix(nxt-dropzone-wrapper): component event binding
Browse files Browse the repository at this point in the history
  • Loading branch information
HitkoDev committed Dec 13, 2023
1 parent 94ee87f commit f901932
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Expand Up @@ -5,7 +5,7 @@
"editor.formatOnSave": true,
"editor.wordWrap": "on",
"editor.codeActionsOnSave": {
"source.fixAll": true
"source.fixAll": "explicit"
},
"files.autoSave": "off",
"html.format.wrapAttributes": "force",
Expand Down
4 changes: 2 additions & 2 deletions packages/dropzone-wrapper/src/lib/dropzone.component.ts
@@ -1,5 +1,5 @@
/* eslint-disable @angular-eslint/no-output-rename */
import { Component, EventEmitter, forwardRef, Input, OnInit, Output, ViewChild, ViewEncapsulation } from '@angular/core'
import { Component, EventEmitter, Input, OnInit, Output, ViewChild, ViewEncapsulation } from '@angular/core'
import { DropzoneDirective } from './dropzone.directive'
import { DropzoneConfig, DropzoneListeners, NXT_DROPZONE_LISTENERS } from './dropzone.interfaces'

Expand All @@ -13,7 +13,7 @@ import { DropzoneConfig, DropzoneListeners, NXT_DROPZONE_LISTENERS } from './dro
encapsulation: ViewEncapsulation.None,
providers: [{
provide: NXT_DROPZONE_LISTENERS,
useValue: forwardRef(() => DropzoneComponent)
useExisting: DropzoneComponent
}]
})
export class DropzoneComponent implements OnInit, DropzoneListeners {
Expand Down

0 comments on commit f901932

Please sign in to comment.