I have a button in my html template that calls a method, but this method is not found in its own component. It's found in another component. What should I do?
HTML template:
<button class="ui button basic medium" (click)="showConfirmation()">Delete</button>
The showConfirmation() method is found in dialog-box.component.ts
In my showConfirmation(), I have a jQuery that allows viewing of a Semantic-UI modal
showConfirmation(show: boolean){
$('.ui.small.modal').modal('show');
}