You need to sign in to do that
Don't have an account?

How to get account values in opportunity while click on "New Opportunity" button in account related list in lightning component?
above are using visual force page
I design an lightning component and need this in lightning component ?
Is "New Opportunity" button quick action type?
then you can use force:hasRecordId interface in the lightning component if
it is not a quick action please share more.
Regards
Ashif