Navigates to the given tree item in the tree.
(e: PointerEvent, opts?: SelectOptions)
| 455 | |
| 456 | /** Navigates to the given tree item in the tree. */ |
| 457 | goto(e: PointerEvent, opts?: SelectOptions) { |
| 458 | const item = this._getItem(e); |
| 459 | if (!item) return; |
| 460 | |
| 461 | this.treeBehavior.goto(item, opts); |
| 462 | this.treeBehavior.toggleExpansion(item); |
| 463 | } |
| 464 | |
| 465 | /** Expands the active item if possible, otherwise navigates to the first child. */ |
| 466 | _expandOrFirstChild(opts?: SelectOptions) { |
no test coverage detected