How to delete a link after using it

Hi,
I would like trigger an action after a link is used to delete it.
Is it possible to catch the clic on a component link ?

What defines a link is “used” or not?

After the click on the screen link, I wish trigger an action

set
Export
clear value

So the link on the screen is one time usage.


image