Gets the level of the tree node. Note that this gets the aria-level and is 1 indexed.
()
| 47 | |
| 48 | /** Gets the level of the tree node. Note that this gets the aria-level and is 1 indexed. */ |
| 49 | async getLevel(): Promise<number> { |
| 50 | return coerceNumberProperty(await (await this.host()).getAttribute('aria-level')); |
| 51 | } |
| 52 | |
| 53 | /** Gets the tree node's text. */ |
| 54 | async getText(): Promise<string> { |
no test coverage detected