Skip to content

Commit ef44672

Browse files
authored
Merge branch 'master' into select-validation
2 parents 7d74244 + e4f91d0 commit ef44672

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
import { Component } from "@angular/core";
1+
import { Component, Input } from "@angular/core";
22

33
@Component({
44
selector: "ibm-header-item",
55
template: `
66
<li style="height: 100%">
7-
<a class="bx--header__menu-item" href="javascript:void(0)" role="menuitem" tabindex="0">
7+
<a class="bx--header__menu-item" [href]="href" role="menuitem" tabindex="0">
88
<ng-content></ng-content>
99
</a>
1010
</li>
1111
`
1212
})
13-
export class HeaderItem { }
13+
export class HeaderItem {
14+
@Input() href = "#";
15+
}

0 commit comments

Comments
 (0)