Navigates to the next widget in a widget group.
()
| 95 | |
| 96 | /** Navigates to the next widget in a widget group. */ |
| 97 | private _groupNext() { |
| 98 | const currGroup = this.inputs.activeItem()?.group(); |
| 99 | const nextGroup = this.listBehavior.navigationBehavior.peekNext()?.group(); |
| 100 | |
| 101 | if (!currGroup) { |
| 102 | return; |
| 103 | } |
| 104 | |
| 105 | if (currGroup !== nextGroup) { |
| 106 | this.listBehavior.goto( |
| 107 | this.listBehavior.navigationBehavior.peekFirst({ |
| 108 | items: currGroup.inputs.items(), |
| 109 | })!, |
| 110 | ); |
| 111 | |
| 112 | return; |
| 113 | } |
| 114 | |
| 115 | this.listBehavior.next(); |
| 116 | } |
| 117 | |
| 118 | /** Navigates to the previous widget in a widget group. */ |
| 119 | private _groupPrev() { |
no test coverage detected