jeudi 1 octobre 2020

angular 9 - how do I use it like jquery? [closed]

I got a json payload with a service in my component, but then I'm not sure how would I add list items to my list component. I see one way is a template (ngFor) but I would like more direct control, like jquery componentElement.append(row1), for example.

Is there a "render" function that I can override or a similar mechanism to update the dom?

Please comment before/after downvoting: maybe I'm missing something obvious since I only recently started doing angular. Thanks.




Aucun commentaire:

Enregistrer un commentaire