Back to test list

Bodyclick is a global custom event that trigger on document click

Cat and Dog are both listen to it

Attach a data-component="cat dog" and Remove to see in the console (clicking the body) that one of the method is still running