]>
Commit | Line | Data |
---|---|---|
1 | import { Component, Input, ViewEncapsulation } from '@angular/core' | |
2 | ||
3 | @Component({ | |
4 | selector: 'my-link', | |
5 | styleUrls: [ './link.component.scss' ], | |
6 | templateUrl: './link.component.html' | |
7 | }) | |
8 | export class LinkComponent { | |
9 | @Input() internalLink?: any[] | |
10 | ||
11 | @Input() href?: string | |
12 | @Input() target?: string | |
13 | ||
14 | @Input() title?: string | |
15 | ||
16 | @Input() tabindex: string | number | |
17 | } |