This repository was archived by the owner on May 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +11
-1
lines changed Expand file tree Collapse file tree 4 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,10 @@ class DropdownMenuComponent extends Object
6767 focusable = _focusTarget;
6868 }
6969
70+ /// Whether the menu is tabbable or not.
71+ @Input ()
72+ bool tabbable = true ;
73+
7074 bool get dropdownStyle => _dropdownStyle;
7175 bool _dropdownStyle = false ;
7276
Original file line number Diff line number Diff line change 77 (trigger) ="isExpanded=true "
88 [buttonText] ="buttonText "
99 [disabled] ="disabled "
10+ [tabbable] ="tabbable "
1011 popupSource
1112 #toggle ="popupSource ">
1213 < ng-content select ="[button-content] "> </ ng-content >
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ import 'dart:async';
66import 'dart:html' ;
77
88import 'package:angular/angular.dart' ;
9- import 'package:angular_components/interfaces/has_disabled.dart' ;
109import 'package:angular_components/focus/focus.dart' ;
10+ import 'package:angular_components/interfaces/has_disabled.dart' ;
1111import 'package:angular_components/material_button/material_button.dart' ;
1212import 'package:angular_components/material_icon/material_icon.dart' ;
1313import 'package:angular_components/material_menu/menu_popup.dart' ;
@@ -77,6 +77,10 @@ class MaterialMenuComponent extends Object
7777 @Input ()
7878 bool disabled = false ;
7979
80+ /// Whether the menu is tabbable or not.
81+ @Input ()
82+ bool tabbable = true ;
83+
8084 /// Aria label for button trigger.
8185 @Input ()
8286 String ariaLabel;
Original file line number Diff line number Diff line change 88 [attr.aria-label] ="ariaLabel "
99 [attr.icon] ="hasIcon "
1010 [disabled] ="disabled "
11+ [tabbable] ="tabbable "
1112 [materialTooltip] ="tooltipText "
1213 [showTooltipIf] ="hasTooltip "
1314 class ="trigger-button "
You can’t perform that action at this time.
0 commit comments