Skip to content

Commit df25acb

Browse files
committed
Updated uiSref directive to be an standalone directive
1 parent e7b978e commit df25acb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/directives/uiSref.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ import { ReplaySubject, Subscription } from 'rxjs';
1717
* @internal
1818
* # blah blah blah
1919
*/
20-
@Directive({ selector: 'a[uiSref]' })
20+
@Directive({
21+
selector: 'a[uiSref]',
22+
standalone: true
23+
})
2124
export class AnchorUISref {
2225
constructor(public _el: ElementRef, public _renderer: Renderer2) {}
2326

@@ -78,6 +81,7 @@ export class AnchorUISref {
7881
@Directive({
7982
selector: '[uiSref]',
8083
exportAs: 'uiSref',
84+
standalone: true
8185
})
8286
export class UISref implements OnChanges {
8387
/**

0 commit comments

Comments
 (0)