Using custom events for binding the same functionality for multiple pieces of code
By Camille O'Hara at Apr 15 2022