1.0.0 • Published 6 years ago

ng-href v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

NgHref

Installation

npm install ng-href --save

Usage

In app.module.ts add the following code

import { NgHrefModule } from 'ng-href';

@NgModule({
    imports: [
        NgHrefModule
    ],
    ... //other stuff
})

Then in the component template file, add class ng-href to the <a> tag as below.

<a href="YOUR_LINK" class="ng-href">Link Text</a>
1.0.0

6 years ago