Component data transfer angular 6
Any way to Component data transfer from one to another or parent component to child components without using @output and @input in angular 6 please send any demo examples
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Muthu KumarRank #935 · 2.2K reputationPosted Mar 8, 2019, 1:42 AM EST
Here i have posted answer related to you It's accepted answer,
https://stackoverflow.com/questions/46655954/passing-a-variable-between-two-components-without-inheritance-angular-2/46661346#46661346
Other way is use localStorage.
Ketan MokariyaRank #1,792 · 832 reputationPosted Mar 7, 2019, 11:38 PM EST
Abhishek MishraRank #871 · 2.5K reputationPosted Mar 8, 2019, 12:42 AM EST
You can transefer data between componet using following two ways
1. @Input , @Output parameter.
2. Shared service
Mohd KashifRank #1,564 · 1K reputationPosted Mar 11, 2019, 3:50 AM EDT
Sivakumar KonetiRank #1,556 · 1K reputationPosted Jul 10, 2019, 8:00 PM EDT
Vivek KumarRank #272 · 9.3K reputationPosted Mar 8, 2019, 9:10 AM EST
Sanjit Kumar SinghRank #1,366 · 1.2K reputationPosted Jul 10, 2019, 6:33 AM EDT