Navigates to the next widget in a widget group.
()
| 131 | |
| 132 | /** Navigates to the next widget in a widget group. */ |
| 133 | private _groupNext() { |
| 134 | const currGroup = this.inputs.activeItem()?.group(); |
| 135 | const nextGroup = this.navigationBehavior.peekNext()?.group(); |
| 136 | |
| 137 | if (!currGroup) { |
| 138 | return; |
| 139 | } |
| 140 | |
| 141 | if (currGroup !== nextGroup) { |
| 142 | this.navigationBehavior.goto( |
| 143 | this.navigationBehavior.peekFirst({ |
| 144 | items: currGroup.inputs.items(), |
| 145 | })!, |
| 146 | ); |
| 147 | |
| 148 | return; |
| 149 | } |
| 150 | |
| 151 | this.navigationBehavior.next(); |
| 152 | } |
| 153 | |
| 154 | /** Navigates to the previous widget in a widget group. */ |
| 155 | private _groupPrev() { |
no test coverage detected