You'll want to take a look at the modifiers -- either within Wappler, or your custom code.
Just for a Wappler only example:
This is a container with a default set of tabs added. The container has a click event that triggers a notification. Without the modifier (self) the notification triggers on each click of a tab, because the click bubbles up the dom.
Here's a quick rundown from Patrick: