Gets whether the toolbar is disabled.
()
| 43 | |
| 44 | /** Gets whether the toolbar is disabled. */ |
| 45 | async isDisabled(): Promise<boolean> { |
| 46 | const host = await this.host(); |
| 47 | return (await host.getAttribute('aria-disabled')) === 'true'; |
| 48 | } |
| 49 | |
| 50 | /** Gets the orientation of the toolbar. */ |
| 51 | async getOrientation(): Promise<'vertical' | 'horizontal'> { |
no test coverage detected