0.0.5 • Published 4 years ago
ngx-nat-link v0.0.5
ngx-nat-link
This project was generated with Angular CLI version 9.1.3.
What's this library
ngx-nat-link
is a library to make various tags have the same routing behavior as the anchor tag.
For tags with this directive applied, Ctrl + left click
or middle click
to open a new tab.
nat
means not anchor tag
.
Usage
$ npm i ngx-nat-link
<button ngxNatLink [link]="'/test2'">Move Test2</button>
<!-- or -->
<div ngxNatLink [link]="'/test2'">
Move Test2
</div>