|
|
|
|
|
by AndrewHampton
880 days ago
|
|
Another option would be for the B to dispatch a `CustomEvent` on itself. That event will bubble up the DOM until it hits A. A would then need an event listener that would probably stop propagation and do whatever bookkeeping is necessary. |
|