Get the tabindex for this option.
()
| 228 | |
| 229 | /** Get the tabindex for this option. */ |
| 230 | protected _getTabIndex() { |
| 231 | if (this.listbox.useActiveDescendant || this.disabled) { |
| 232 | return -1; |
| 233 | } |
| 234 | return this.isActive() ? this.enabledTabIndex : -1; |
| 235 | } |
| 236 | } |
| 237 | |
| 238 | @Directive({ |