Whether the tab is disabled.
()
| 62 | |
| 63 | /** Whether the tab is disabled. */ |
| 64 | async isDisabled(): Promise<boolean> { |
| 65 | const hostEl = await this.host(); |
| 66 | return (await hostEl.getAttribute('aria-disabled')) === 'true'; |
| 67 | } |
| 68 | |
| 69 | /** Selects the given tab by clicking on the label. Tab cannot be selected if disabled. */ |
| 70 | async select(): Promise<void> { |
no test coverage detected