ect-link
v1.19.6
Published
ECT Link with full WCAG as standard.
Downloads
36
Readme
EctLink
This library was generated with Angular CLI version 19.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: Optional. HTTP URL.
- Text: Optional. Text description of the URL.
- CssClasses: Optional. CSS classes to style the link.
- Icon: Optional. Icon to include before the link's text.
- Target: Optional. Default is _blank.
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)