Created
March 25, 2019 14:05
-
-
Save jepzen/83fc9ad8d7a580d3404195115602beac to your computer and use it in GitHub Desktop.
How to stop a link from working
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//just add ;false; after the method you want to call on click. this comes from a Angular sample | |
<a href="" (click)="open(content);false;"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment