Register an Event Handler on a Shadow DOM Element Using Code with Lit Components
TL;DR The challenge I had with registering the event handler was finding the right time in the lit.dev lifecycle to catch the DOM element. On top of that, I had to find the element in the Shadow DOM. Well lit.dev…