Hi,
Case: I have 5 containers inside vbox layout in a parent container. I attach listeners for tap event on each of the 5 child containers. Another way proposed is to add one event listener on the parent container, because apparently it lightens the DOM.
Questions:
- Do Event Listeners take space in DOM?
- If I put the event listener on the parent container only, how do I know which child container was clicked?