vuetifyjs/vuetify

[Feature Request] Treeview: Determine what element is being hovered over

Open

#20,333 创建于 2024年8月14日

在 GitHub 查看
 (2 评论) (6 反应) (0 负责人)TypeScript (40,995 star) (7,139 fork)batch import
C: VTreeviewT: featuregood first issuehas workaround

描述

Problem to solve

I am trying to implement some custom functionality in my program based off what element in the tree I am hovering over. While I can easily tell what item has been selected, I can not seem to find a way to determine what individual element is being hovered over.

Proposed solution

VTreeview has activated which is an array of ids of activated nodes. All that is needed is something like "hovered" which is an array of ids of hovered over node(s). This probably doesn't need to be an array and can just be a single element.

贡献者指南

[Feature Request] Treeview: Determine what element is being hovered over · vuetifyjs/vuetify#20333 | Good First Issue