Aura Method In Lightning Aura Component

We are going to pass parameter from Parent Component to Child component using Aura Method.

Salesforce Best practice to use Aura Method to pass values from Parent to Child Component

Step 1: Create ParentCmpForAuraMethod.Cmp and add below code.

Step 2: Create ChildCmpForAuraMethod.cmp and add below code. Add Aura Method and two attribute inside it.

Final Output As Below: