AngularJS has the & parameters where you could pass a callback to a directive (e.g AngularJS way of callbacks. Is it possible to pass a callback as an @Input
I think that is a bad solution. If you want to pass a Function into component with @Input(), @Output() decorator is what you are looking for.
export class SuggestionMenuComponent {
@Output() onSuggest: EventEmitter = new EventEmitter();
suggestionWasClicked(clickedEntry: SomeModel): void {
this.onSuggest.emit([clickedEntry, this.query]);
}
}