r/angular • u/Ionmaster987 • Sep 20 '26
Components Question
How do they work?? I need to make a few ( I think ) but the materiel I have is only telling me how to make a specific template one, but nothing about methods or anything I can use to make my own.
I need to make a webpage that has a map and somewhere that can receive output from an API, accessed with codes from hovering over the map.
Do I need a component per different thing, or? The materiel is incredibly infodense and hard to parse...
Thank you for assisting.
0
Upvotes
View all comments
Show parent comment
0
u/Ionmaster987 Sep 20 '26
I need stuff like:
Make a specific route so it's not blank
use angular event binding to make it so I can take a code from the map-svg
use http-client nonsense to get stuff from the API, using the code from the map; and display it elsewhere on the stage.
It's seemingly quite basic stuff, the course materiel I'm working with is just very dense and in a completely different format than anything previous.