Hey there,
Unfortunately that is not possible, only when using input fields can you use on leave or on change actions.
you can use html/js snippets and use the Javascript mousehover and mouseleave event also you can use jquery in this widget
and in jquery we have onblur event or blur function and mouseenter and mouseleave function and events
this on of the suitable event