Gets the role of the dialog.
()
| 56 | |
| 57 | /** Gets the role of the dialog. */ |
| 58 | async getRole(): Promise<DialogRole | null> { |
| 59 | return (await this.host()).getAttribute('role') as Promise<DialogRole | null>; |
| 60 | } |
| 61 | |
| 62 | /** Gets the value of the dialog's "aria-label" attribute. */ |
| 63 | async getAriaLabel(): Promise<string | null> { |
no test coverage detected