Fork me on GitHub
#keechma
<
2021-04-28
>
fsd16:04:09

Hello @mihaelkonjevic I am new to keechma, and am working on application built in keechma. My question is how do you transfer information between child components?

Results (parent component)
 - Item_cards ( child component)
 - Header ( child component)
 - Map ( child component)
 - Footer ( child component)
For example, I have a map on the right side and item cards left side. I would like a hover effect when a user hovers on the card it indicates where the item is located on the map. I need something like on-mouse-over and mouse out on the Item_cards and it sends item ID as props to the Map section so that I can change the icon on the map. The main purpose is to get the Id of an item when a user hovers on the card (Item_cards component) and sends that information to the Map component. Thanks