Skip to content

Conversation

@v-ein
Copy link
Collaborator

@v-ein v-ein commented Dec 19, 2025


name: Pull Request
about: Create a pull request to help us improve
title: Event type on hover and focus handlers
assignees: ''


Description:
Focus and hover handlers can now track state changes like "mouse-in" or "lost focus". The PR adds an event_type argument that lets one choose when the handler will fire: when the corresponding item state bit is "on", when it changes to "on", or when it changes to "off" (or when it is "off", though I'm not sure who would ever need that). This allows for easy handling of events like "mouse-in", "mouse-out", "got focus", "lost focus".

Concerning Areas:
None.

@v-ein v-ein requested a review from hoffstadt December 19, 2025 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant