Skip to content

Commit f901932

Browse files
committed
fix(nxt-dropzone-wrapper): component event binding
1 parent 94ee87f commit f901932

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"editor.formatOnSave": true,
66
"editor.wordWrap": "on",
77
"editor.codeActionsOnSave": {
8-
"source.fixAll": true
8+
"source.fixAll": "explicit"
99
},
1010
"files.autoSave": "off",
1111
"html.format.wrapAttributes": "force",

packages/dropzone-wrapper/src/lib/dropzone.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable @angular-eslint/no-output-rename */
2-
import { Component, EventEmitter, forwardRef, Input, OnInit, Output, ViewChild, ViewEncapsulation } from '@angular/core'
2+
import { Component, EventEmitter, Input, OnInit, Output, ViewChild, ViewEncapsulation } from '@angular/core'
33
import { DropzoneDirective } from './dropzone.directive'
44
import { DropzoneConfig, DropzoneListeners, NXT_DROPZONE_LISTENERS } from './dropzone.interfaces'
55

@@ -13,7 +13,7 @@ import { DropzoneConfig, DropzoneListeners, NXT_DROPZONE_LISTENERS } from './dro
1313
encapsulation: ViewEncapsulation.None,
1414
providers: [{
1515
provide: NXT_DROPZONE_LISTENERS,
16-
useValue: forwardRef(() => DropzoneComponent)
16+
useExisting: DropzoneComponent
1717
}]
1818
})
1919
export class DropzoneComponent implements OnInit, DropzoneListeners {

0 commit comments

Comments
 (0)