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