ect-link
TypeScript icon, indicating that this package has built-in type declarations

1.18.1 • Public • Published

EctLink

This library was generated with Angular CLI version 18.0.0.

Description

This component allows for the creation of a WCAG compliant URL link that opens the link in a new browser window/tab.

Usage

After installing the NPM package, to use the component, first load the package into your modules file:

import { EctLinkModule } from 'ect-link';

Then add EctLinkModule into your imports array.

In your HTML template, to add a link that opens up the homepage for BBC News, use this:

<ect-link Href="https://news.bbc.co.uk" 
          Text="BBC News" />

Properties

  • Href: Mandatory. HTTP URL.
  • Text: Optional. Text description of the URL.

Events

  • onClick: Click action.

Dependencies

None

Cost

If you find some benefit from using this package, please consider the time it took to put this together, and why not buy me a coffee? Goodness only knows that most of us would not function without coffee. All donations very much welcomed: (https://www.buymeacoffee.com/exoduscloudtech)

Licence

The licence agreement for this paid component can be found here: (https://angular-grid.net/assets/licence/licence_agreement.txt)

Readme

Keywords

Package Sidebar

Install

npm i ect-link

Weekly Downloads

1

Version

1.18.1

License

MIT

Unpacked Size

21.4 kB

Total Files

12

Last publish

Collaborators

  • exoduscloudtech