vuetifyjs/vuetify

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

Open

#20.333 aberto em 14 de ago. de 2024

Ver no GitHub
 (2 comments) (6 reactions) (0 assignees)TypeScript (7.139 forks)batch import
C: VTreeviewT: featuregood first issuehas workaround

Métricas do repositório

Stars
 (40.995 stars)
Métricas de merge de PR
 (Mesclagem média 59d 10h) (8 fundiu PRs em 30d)

Description

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.

Guia do colaborador