Relatively new to Salesforce. I'm building a Community Pages site, and I built a custom template in a Lightning Component Bundle. I want to set an onclick event that works on the entire page area that fires a method on a LWC within the template. I found a tutorial that does almost exactly what I need:
That works, but that relies on importing the LWC directly into the Aura component. I'm using {!v.body} in the template and using the Builder tool to drag LWCs into the body area of the template. So is there a way to target the LWC from the Aura parent, but the LWC that's been added in the builder to the {!v.body} area instead of directly?