I want to create a plugin for my company so that an action is fired on hover, and only in a specific case (a specific and partially constant string).
Example:
Say I have an XML/HTML file with some attributes:
<attribute someAction="something" fieldName="unknown"/>
<attribute width="10" fieldName="whoKnows"/>
<attribute fieldName="incognito" **resourceCode="007"**/>
I want that when hovering above the resourceCode="007" part, my action will be triggered. In all other cases, I don't want to do anything.
The resourceCode= is constant, and the value itself is a variable that I need to use in my action.
I went over the Q&A here, and in other places, and tried the official documentation, but with no success.