* Returns the currently selected tab in the tablist if any.
()
| 191 | * Returns the currently selected tab in the tablist if any. |
| 192 | */ |
| 193 | getSelectedTab(): HTMLElement | null { |
| 194 | return this.getTabs().find(tab => tab.getAttribute('aria-selected') === 'true') || null; |
| 195 | } |
| 196 | |
| 197 | /** |
| 198 | * Returns the currently active tabpanel if any. |
no test coverage detected