This replaces #21 as a better idea. Right now the system already detects when elements are hovered over, all it needs to do is check if they have a hovered function defined and call it with true or false depending on whether it was the previously hovered element or the newly hovered element.
This can be useful for animation or background color changes or other similar things to highlight what is being selected.
This replaces #21 as a better idea. Right now the system already detects when elements are hovered over, all it needs to do is check if they have a
hovered
function defined and call it withtrue
orfalse
depending on whether it was the previously hovered element or the newly hovered element.This can be useful for animation or background color changes or other similar things to highlight what is being selected.