I've two components:
<c:Lightning_component_Aura> <c:lwcLightningWebComponent aura:id="myLwcComponent" /> </c:Lightning_component_Aura>
I've declared a function inside LWC using
@api. Now the documentation says, this method can be called from Parent component but the way they provided is for if parent component is also LWC component.
I would like to call this child LWC component from a parent Aura component. Like we do by provideding a
aura:id to an Aura component and
find that instance and call the
I tried supplying LWC an
aura:id and call the
@api method like this but it did not work.
Any suggestions on how to do that?