I am working on a navigation setup that looks like this:
<a (click)="onCustomParameters()">
<app-custom-start-card></app-custom-start-card>
</a>
When the user clicks on the app-custom-start-card
, the onCustomParameters()
function is triggered, leading to navigation.
There is also a button in the card that opens an external link. Upon clicking this button, the external link is opened and the onCustomParameters()
function is called as well.
For instance, there is a button inside the card mentioned above:
<button (click)="issuesTab()">Issues</button> Github Repository.
The issuesTab
function has the following implementation:
issuesTab(e:any) {
e.stopPropagation()
window.open(ISSUES_URL, '_blank');
}
I initially tried using e.stopPropagation()
but it did not work as expected. Any insights on how to resolve this?