Opens the tab panel with the specified value.
(value: string)
| 177 | |
| 178 | /** Opens the tab panel with the specified value. */ |
| 179 | open(value: string): boolean { |
| 180 | return this._pattern.open(this.findTab(value)?._pattern); |
| 181 | } |
| 182 | |
| 183 | findTab(value?: string) { |
| 184 | return value ? this._collection.orderedItems().find(tab => tab.value() === value) : undefined; |