A developer created a child Lightning web component nested inside a parent Lightning web component, parent component needs to pass a string value to the child component.
In which two ways can this be accomplished?
Choose 2 answers
- The parent component can use a custom event to pass the data to the child component,
- The parent component can use the Apex controller class to send data to the child component.
- The parent component can invoke a method in the child component
- The parent component can use a public property to pass the data to the child component.
Reveal Solution Next Question