File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ import {DeferredContent, DeferredContentAware} from '@angular/aria/deferred-cont
4444 exportAs : 'ngMenuTrigger' ,
4545 host : {
4646 'class' : 'ng-menu-trigger' ,
47- '[attr.tabindex]' : 'tabindex()' ,
47+ '[attr.tabindex]' : '_pattern. tabindex()' ,
4848 '[attr.aria-haspopup]' : 'hasPopup()' ,
4949 '[attr.aria-expanded]' : 'expanded()' ,
5050 '[attr.aria-controls]' : '_pattern.menu()?.id()' ,
@@ -75,9 +75,6 @@ export class MenuTrigger<V> {
7575 /** Whether the menu trigger has a popup. */
7676 readonly hasPopup = computed ( ( ) => this . _pattern . hasPopup ( ) ) ;
7777
78- /** The tabindex of the menu trigger. */
79- readonly tabindex = computed ( ( ) => this . _pattern . tabindex ( ) ) ;
80-
8178 /** The menu trigger ui pattern instance. */
8279 _pattern : MenuTriggerPattern < V > = new MenuTriggerPattern ( {
8380 element : computed ( ( ) => this . _elementRef . nativeElement ) ,
You can’t perform that action at this time.
0 commit comments