I have an app where I have an upload component where I can upload a file. It is embedded in the body.component.
body.component
On upload, it should use a function (e.g.
Below is worked for me in latest
class ChildComponent { @Output() myEvent = new EventEmitter(); callParent() { this.myEvent.emit('eventDesc'); } }
In ParentTemplate's template
ParentTemplate