Expands the node if it is collapsed. Only works when node is not disabled.
()
| 65 | |
| 66 | /** Expands the node if it is collapsed. Only works when node is not disabled. */ |
| 67 | async expand(): Promise<void> { |
| 68 | if (!(await this.isExpanded())) { |
| 69 | await this.toggle(); |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | /** Collapses the node if it is expanded. Only works when node is not disabled. */ |
| 74 | async collapse(): Promise<void> { |
nothing calls this directly
no test coverage detected