onHover event for Label?

I’ve been looking at the documentation for the Label:
https://anvil.works/docs/api/anvil#Label

I tried finding some sort of method that fires off when the mouse is hovering over it, though, I didn’t find anything like that in the documentation… Am I missing something here?

Built-in hover events for labels/links etc don’t exist. Perhaps custom Anvil roles with some CSS would work.

That’s what I was afraid of… :frowning:

On the bright side, at least Anvil provides a way to proceed that shouldn’t be too troublesome. Someone who knows a bit of CSS may jump in and help.

what did you want to happen on hover?

Arbitrary python code execution.