Skip to content

Commit dffe3cf

Browse files
committed
fix(nav-link): add cursor pointer style
1 parent ac36cc6 commit dffe3cf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

projects/coreui-angular/src/lib/nav/nav-link.directive.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ export class NavLinkDirective {
6161
return this.disabled ? '-1' : null;
6262
}
6363

64+
@HostBinding('style.cursor')
65+
get getCursorStyle(): string | null {
66+
return this.disabled ? null : 'pointer';
67+
}
68+
6469
@HostBinding('class')
6570
get hostClasses(): any {
6671
return {

0 commit comments

Comments
 (0)