Skip to content

Instantly share code, notes, and snippets.

@jepzen
Created March 25, 2019 14:05
Show Gist options
  • Save jepzen/83fc9ad8d7a580d3404195115602beac to your computer and use it in GitHub Desktop.
Save jepzen/83fc9ad8d7a580d3404195115602beac to your computer and use it in GitHub Desktop.
How to stop a link from working
//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