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