1

I have a dashboard-component that displays a list of documents. For each document in the list i would like to provide a "delete-link".

Is there a way to directly call the delete-method of my document-service out of the dashboards html-template, rather than calling a method of my dashboard-component which forwards to the document-service?

1 Answer 1

3

You can do

(click)="documentService.someMethod($event)"
Sign up to request clarification or add additional context in comments.

1 Comment

OK... It really was that simple! Thank you!

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.